Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
62 | protected function injected(FixtureEvent $event) |
||
63 | { |
||
64 | $fixture = $event->getFixture(); |
||
65 | |||
66 | if (! ($fixture instanceof ObjectManagerNameAwareInterface)) { |
||
67 | return; |
||
68 | } |
||
69 | |||
70 | $objectManagerName = $this->getContextParam(static::OBJECT_MANAGER_NAME); |
||
71 | $fixture->setObjectManagerName($objectManagerName); |
||
72 | } |
||
73 | } |
||
74 |