Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | public function createService(ServiceLocatorInterface $serviceLocator) |
||
27 | { |
||
28 | $appServiceLocator = $serviceLocator; |
||
29 | if ($serviceLocator instanceof AbstractPluginManager) { |
||
30 | $appServiceLocator = $serviceLocator->getServiceLocator(); |
||
31 | } |
||
32 | |||
33 | /** @var FixtureExecutorManagerInterface $fixtureExecutorManager */ |
||
34 | $fixtureExecutorManager = $appServiceLocator->get(FixtureExecutorManagerInterface::class); |
||
35 | |||
36 | |||
37 | return new ExecutorController($fixtureExecutorManager); |
||
38 | } |
||
39 | } |
||
40 |