File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -67,10 +67,6 @@ public function addFixture(FixtureInterface $fixture): void
67
67
$ this ->addGroupsFixtureMapping ($ class , $ fixture ::getGroups ());
68
68
}
69
69
70
- if ($ fixture instanceof ContainerAwareInterface) {
71
- $ fixture ->setContainer ($ this ->container );
72
- }
73
-
74
70
parent ::addFixture ($ fixture );
75
71
}
76
72
Original file line number Diff line number Diff line change @@ -10,4 +10,6 @@ UPGRADE FROM 4.x to 5.0
10
10
` Doctrine\Bundle\MongoDBBundle\Command\DoctrineODMCommand ` have been
11
11
removed without replacement.
12
12
* The ` Doctrine\Bundle\MongoDBBundle\Command\DoctrineODMCommand ` class is now
13
- ` @internal ` , you should not extend from this class.
13
+ ` @internal ` , you should not extend from this class.
14
+ * Remove support for ` services ` option in ` doctrine:mongodb:fixtures:load ` command.
15
+ * Remove ` ContainerAwareInterface ` on fixture classes.
You can’t perform that action at this time.
0 commit comments