Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | 1 | public function createService(ServiceLocatorInterface $serviceLocator) |
|
16 | { |
||
17 | 1 | if ($serviceLocator instanceof AbstractPluginManager) { |
|
18 | 1 | $serviceLocator = $serviceLocator->getServiceLocator(); |
|
19 | 1 | } |
|
20 | |||
21 | 1 | return new ProxyClearController($serviceLocator->get('config')['mxdimodule']['proxy_dir']); |
|
22 | } |
||
23 | } |
||
24 |