Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
27 | public function createService(ServiceLocatorInterface $serviceLocator) |
||
28 | { |
||
29 | /** @var ModuleOptions $mapOptions */ |
||
30 | $moduleOptions = $serviceLocator->get('AxalianAchievements\Options\ModuleOptions'); |
||
31 | |||
32 | $pluginManager = new AchievementProviderPluginManager(new Config($moduleOptions->getAchievementProviders())); |
||
33 | $pluginManager->setServiceLocator($serviceLocator); |
||
34 | |||
35 | return $pluginManager; |
||
36 | } |
||
37 | } |
||
38 |