Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
2 / 2 |
| ToolsControllerFactory | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
2 / 2 |
| createService | |
100.00% |
1 / 1 |
1 | |
100.00% |
2 / 2 |
|||
| <?php | |
| namespace AssetsBundle\Factory; | |
| class ToolsControllerFactory implements \Zend\ServiceManager\FactoryInterface | |
| { | |
| /** | |
| * @see \Zend\ServiceManager\FactoryInterface::createService() | |
| * @param \Zend\ServiceManager\ServiceLocatorInterface $oServiceLocator | |
| * @return \AssetsBundle\Controller\ToolsController | |
| */ | |
| public function createService(\Zend\ServiceManager\ServiceLocatorInterface $oServiceLocator) | |
| { | |
| $oToolsController = new \AssetsBundle\Controller\ToolsController(); | |
| return $oToolsController->setAssetsBundleToolsService($oServiceLocator->getServiceLocator()->get('AssetsBundleToolsService')); | |
| } | |
| } |