| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | public function setServiceManager(ServiceLocatorInterface $serviceLocator) |
||
| 29 | { |
||
| 30 | /** @var \Zend\ServiceManager\ServiceManager $serviceManager */ |
||
| 31 | $serviceManager = ($serviceLocator instanceof AbstractPluginManager) |
||
| 32 | ? $serviceLocator->getServiceLocator() |
||
| 33 | : $serviceLocator; |
||
| 34 | |||
| 35 | $this->serviceManager = $serviceManager; |
||
| 36 | } |
||
| 37 | |||
| 46 |