-
-
Notifications
You must be signed in to change notification settings - Fork 228
Open
Description
ReferenceRepository depends on ObjectManager interface:
data-fixtures/src/ReferenceRepository.php
Line 67 in 4892c74
| public function __construct(ObjectManager $manager) |
But futher in code getUnitOfWork method is called:
data-fixtures/src/ReferenceRepository.php
Line 127 in 4892c74
| $uow = $this->manager->getUnitOfWork(); |
\Doctrine\Persistence\ObjectManager interface doesn't contain this method. But \Doctrine\ORM\EntityManagerInterface contains.
Could you tell me, why there is a dependency on ObjectManager instead of EntityManagerInterface?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels