You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because doctrine/data-fixtures is not specific to the ORM. The code supports multiple Doctrine O*M projects.
But it is true that the ReferenceRepository does not work with any implementation of Doctrine\Persistence\ObjectManager, only with implementations in those projects.
ReferenceRepository
depends onObjectManager
interface:data-fixtures/src/ReferenceRepository.php
Line 67 in 4892c74
But futher in code
getUnitOfWork
method is called:data-fixtures/src/ReferenceRepository.php
Line 127 in 4892c74
\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 ofEntityManagerInterface
?Thanks!
The text was updated successfully, but these errors were encountered: