Skip to content

Commit d16b0e7

Browse files
authored
Update doctrine.rst
Added line required by RegistryInterface interface that is generated by command "make:entity" but missed in the doc
1 parent eaebabf commit d16b0e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doctrine.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,7 @@ But what if you need a more complex query? When you generated your entity with
580580

581581
use App\Entity\Product;
582582
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
583+
use Symfony\Bridge\Doctrine\RegistryInterface;
583584

584585
class ProductRepository extends ServiceEntityRepository
585586
{

0 commit comments

Comments
 (0)