Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
51 | protected function injected(FixtureEvent $event) |
||
52 | { |
||
53 | $fixture = $event->getFixture(); |
||
54 | |||
55 | if (! ($fixture instanceof ObjectManagerNameAwareInterface)) { |
||
56 | return; |
||
57 | } |
||
58 | |||
59 | $objectManagerName = $this->getContextParam(static::OBJECT_MANAGER_NAME); |
||
60 | $fixture->setObjectManagerName($objectManagerName); |
||
61 | } |
||
62 | } |
||
63 |