doctrine / DoctrineFixturesBundle

Symfony integration for the doctrine/data-fixtures library
MIT License
2.44k stars 202 forks source link

re-introduce --fixtures option #357

Closed wickedOne closed 5 months ago

wickedOne commented 2 years ago

ee5eb61c41572963299c41489b9acc159cbc246d introduced loading fixtures as tagged services, but also removed the option to specify a path to the fixtures classes.

this created the requirement of having your fixtures within your "main" namespace rather than within your "test" namespace while the loader doesn't really care about that.

would it be an option to re-introduce the --fixtures option so that fixtures can be loaded from a specified path rather than being required to live in the application core?