doctrine / data-fixtures

Doctrine2 ORM Data Fixtures Extensions
http://www.doctrine-project.org
MIT License
2.77k stars 224 forks source link

Make the order of data fixtures loading deterministic #215

Closed sustmi closed 8 years ago

sustmi commented 8 years ago

Fixes https://github.com/doctrine/data-fixtures/issues/214 .

kingcrunch commented 8 years ago

There are already two interfaces OrderedFixtureInterface and DependentFixtureInterface that should solve your use-case, don't they?

sustmi commented 8 years ago

Issue https://github.com/doctrine/data-fixtures/issues/214 is about situation when you forget to set all the orders or dependencies. In such situation I would like the order to be always the same and not different on every run/machine (given probably by order of inclusion of PHP files).

mikeSimonson commented 8 years ago

@sustmi Thanks