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 {