doctrine/DoctrineFixturesBundle — pull request #67 by mariusz-alef-bak (2012-11-17 13:30:56+00:00)
Title: Allow fixture classes to be loaded individually.

This pull requests allows to load individual fixture classes by their class names by adding `--fixture-classes` option.

In some projects which require various fixture sets (e.g. for different setups for various environments) being able to point fixtures only by directory is quite a pain as some fixtures may be reused in few sets. Moving them to subdirectories doesn't solve the problem in some cases as namespaces would have to be adjusted accordingly and code would have to be duplicated. There were some issues reported concerning the lack of this feature both in this repo and in data-fixtures.

I have made a [pull request #79|https://github.com/doctrine/data-fixtures/pull/79] to [data-fixtures|https://github.com/doctrine/data-fixtures] to allow load individual files instead of directories to data-fixtures and I was hoping to add this behaviour also to DoctrineFixturesBundle, but it hasn't been merged yet. This pull request is another way to add similar (or maybe even better) functionality, as `addFixture` method is already available in data-fixtures `Loader` class.