| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 19 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 27 | public function createService(ServiceLocatorInterface $serviceLocator)  | 
            ||
| 28 |     { | 
            ||
| 29 | $appServiceLocator = $serviceLocator instanceof AbstractPluginManager ? $serviceLocator->getServiceLocator() : $serviceLocator;  | 
            ||
| 30 | |||
| 31 | /** @var ModuleOptionsPluginManagerInterface $moduleOptionsPluginManager */  | 
            ||
| 32 | $moduleOptionsPluginManager = $appServiceLocator->get(ModuleOptionsPluginManagerInterface::class);  | 
            ||
| 33 | |||
| 34 | /** @var ModuleOptions $moduleOptions */  | 
            ||
| 35 | $moduleOptions = $moduleOptionsPluginManager->get(ModuleOptions::class);  | 
            ||
| 36 | |||
| 37 | /** @var ResourceLoaderManagerInterface $resourceLoaderManager */  | 
            ||
| 38 | $resourceLoaderManager = $appServiceLocator->get(ResourceLoaderManagerInterface::class);  | 
            ||
| 39 | |||
| 40 | $resourceLoaderService = new ResourceLoaderService($resourceLoaderManager);  | 
            ||
| 41 | |||
| 42 | $resourceLoaderService->setClassFixtureToResourceLoader($moduleOptions->getResourceLoader());  | 
            ||
| 43 | |||
| 44 | return $resourceLoaderService;  | 
            ||
| 45 | }  | 
            ||
| 46 | }  | 
            ||
| 47 |