Conditions | 4 |
Paths | 2 |
Total Lines | 17 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 13 |
CRAP Score | 4 |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | 2 | ) { |
|
26 | 1 | $pluginManager = $serviceLocator->get('MtMail\Service\SenderPluginManager'); |
|
27 | 1 | foreach (array_unique($configuration['mt_mail']['sender_plugins']) as $plugin) { |
|
28 | 1 | $pluginManager->get($plugin)->attach($service->getEventManager()); |
|
29 | 1 | } |
|
30 | 1 | } |
|
31 | |||
32 | 2 | return $service; |
|
33 | } |
||
34 | } |
||
35 |