From d16b0e7f4f5e14ebe3aa7c27375341a33a7a6447 Mon Sep 17 00:00:00 2001 From: moon-watcher Date: Tue, 16 Jan 2018 18:55:04 +0100 Subject: [PATCH] Update doctrine.rst Added line required by RegistryInterface interface that is generated by command "make:entity" but missed in the doc --- doctrine.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doctrine.rst b/doctrine.rst index 00d6d0692aa..b92c195398d 100644 --- a/doctrine.rst +++ b/doctrine.rst @@ -580,6 +580,7 @@ But what if you need a more complex query? When you generated your entity with use App\Entity\Product; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; + use Symfony\Bridge\Doctrine\RegistryInterface; class ProductRepository extends ServiceEntityRepository {