Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
23 | public function createService(ServiceLocatorInterface $serviceLocator) |
||
24 | { |
||
25 | /** @var \Zend\Mvc\Controller\ControllerManager $serviceLocator */ |
||
26 | $serviceManager = $serviceLocator->getServiceLocator(); |
||
27 | /** @var CollectionsManager $manager */ |
||
28 | $manager = $serviceManager->get(CollectionsManager::class); |
||
29 | |||
30 | return new SettingsApiController($manager); |
||
31 | } |
||
32 | } |
||
33 |