File tree Expand file tree Collapse file tree 1 file changed +16
-11
lines changed
Expand file tree Collapse file tree 1 file changed +16
-11
lines changed Original file line number Diff line number Diff line change 11<?php
22
3+ declare (strict_types=1 );
4+
5+ use Doctrine \Common \DataFixtures \Executor \ORMExecutor ;
6+ use Doctrine \Common \DataFixtures \Purger \ORMPurger ;
7+
38/**
49 * In the default values listed below, ORM fixtures are configured. You may
510 * configure other Doctrine fixture group types:
813 * ORMPurger | PHPCRPurger | MongoDBPurger
914 */
1015
16+ // The order of fixtures in the fixtures array is not the order in which
17+ // they will be executed. See
18+ // https://github.com/doctrine/data-fixtures#fixture-ordering
19+ /**
20+ Fixture1::class,
21+ Fixture2::class,
22+ */
23+
1124return [
1225 'default ' => [ // Group name
1326 'objectManager ' => 'Doctrine\ORM\EntityManager ' ,
14- 'executor ' => \Doctrine \Common \DataFixtures \Executor \ORMExecutor::class,
15- 'purger ' => \Doctrine \Common \DataFixtures \Purger \ORMPurger::class,
16- 'fixtures ' => [
17- // The order of fixtures in this list is not the order in which
18- // they will be executed. See
19- // https://github.com/doctrine/data-fixtures#fixture-ordering
20- /**
21- Fixture1::class,
22- Fixture2::class,
23- */
24- ],
27+ 'executor ' => ORMExecutor::class,
28+ 'purger ' => ORMPurger::class,
29+ 'fixtures ' => [],
2530 ],
2631];
You can’t perform that action at this time.
0 commit comments