Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | public function __invoke(ContainerInterface $serviceLocator) |
||
19 | { |
||
20 | $config = $serviceLocator->get('Configuration'); |
||
21 | $serviceConfig = new Config($config['mt_mail']['composer_plugin_manager']); |
||
22 | $service = new ComposerPluginManager($serviceLocator); |
||
23 | 1 | $serviceConfig->configureServiceManager($service); |
|
24 | |||
25 | 1 | return $service; |
|
26 | 1 | } |
|
27 | } |
||
28 |