File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -73,8 +73,12 @@ Once your fixtures have been written, load them by executing this command:
73
73
74
74
This command looks for all services tagged with ``doctrine.fixture.orm ``. If you're
75
75
using the `default service configuration `_, any class that implements ``ORMFixtureInterface ``
76
- (for example, those extending from ``Fixture ``) will automatically be registered
77
- with this tag.
76
+ (for example, those extending from ``Doctrine\Bundle\FixturesBundle\Fixture ``) will automatically
77
+ be registered with this tag.
78
+ Please note the Bundle uses `a compiler pass to detect the services
79
+ <https://github.com/doctrine/DoctrineFixturesBundle/blob/HEAD/src/DependencyInjection/CompilerPass/FixturesCompilerPass.php> `_, and in so,
80
+ they should be instanciable (declaring their constructor as `private ` would prevent
81
+ them from being detected, for instance).
78
82
79
83
To see other options for the command, run:
80
84
You can’t perform that action at this time.
0 commit comments