10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b68910 commit 74f5135Copy full SHA for 74f5135
src/Resources/skeleton/doctrine/Repository.tpl.php
@@ -4,7 +4,7 @@
4
5
use <?= $entity_full_class_name; ?>;
6
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
7
-use Symfony\Bridge\Doctrine\RegistryInterface;
+use Doctrine\Common\Persistence\ManagerRegistry;
8
9
/**
10
* @method <?= $entity_class_name; ?>|null find($id, $lockMode = null, $lockVersion = null)
@@ -14,7 +14,7 @@
14
*/
15
class <?= $class_name; ?> extends ServiceEntityRepository
16
{
17
- public function __construct(RegistryInterface $registry)
+ public function __construct(ManagerRegistry $registry)
18
19
parent::__construct($registry, <?= $entity_class_name; ?>::class);
20
}
0 commit comments