Skip to content

Commit b146983

Browse files
committed
minor #9066 Update doctrine.rst (moon-watcher)
This PR was merged into the 4.0 branch. Discussion ---------- Update doctrine.rst Added line required by RegistryInterface interface that is generated by command "make:entity" but missed in the doc Commits ------- d16b0e7 Update doctrine.rst
2 parents eaebabf + d16b0e7 commit b146983

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)