Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
JsCustomRendererFactory | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
__invoke | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
<?php | |
namespace AssetsBundle\Factory; | |
class JsCustomRendererFactory implements \Zend\ServiceManager\Factory\FactoryInterface | |
{ | |
/** | |
* @see \Zend\ServiceManager\Factory\FactoryInterface::__invoke() | |
* @param \Interop\Container\ContainerInterface $oServiceLocator | |
* @return \AssetsBundle\View\Renderer\JsCustomRenderer | |
*/ | |
public function __invoke(\Interop\Container\ContainerInterface $oServiceLocator, $sRequestedName, array $aOptions = null) | |
{ | |
return new \AssetsBundle\View\Renderer\JsCustomRenderer(); | |
} | |
} |