data-fixtures
data-fixtures copied to clipboard
Doctrine2 ORM Data Fixtures Extensions
`ReferenceRepository` depends on `ObjectManager` interface: https://github.com/doctrine/data-fixtures/blob/4892c74dd04a3ec7404b9586272d722325905c58/src/ReferenceRepository.php#L67 But futher in code `getUnitOfWork` method is called: https://github.com/doctrine/data-fixtures/blob/4892c74dd04a3ec7404b9586272d722325905c58/src/ReferenceRepository.php#L127 `\Doctrine\Persistence\ObjectManager` interface doesn't contain this method. But `\Doctrine\ORM\EntityManagerInterface` contains. Could you tell me, why there...
Symfony Documentation suggests Fixtures can share any PHP object between each other using the addReference and getReference methods. https://symfony.com/bundles/DoctrineFixturesBundle/current/index.html#sharing-objects-between-fixtures However, tracing through these calls through to the ReferenceRepository, both will...
Fix order of sorting for cyclic dependencies where multiple dependencies are assumed to always go after the cyclic one In the test case: Lets assume none of the FK allow...