PHP Class ZF\Apigility\Admin\Controller\HydratorsControllerFactory

Inheritance: implements Zend\ServiceManager\FactoryInterface
Mostra file Open project: zfcampus/zf-apigility-admin

Public Methods

Method Description
__invoke ( Interop\Container\ContainerInterface $container, string $requestedName, array $options = null ) : ZF\Apigility\Admin\Controller\HydratorsController Create and return HydratorsController instance.
createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : ZF\Apigility\Admin\Controller\HydratorsController Create and return HydratorsController instance (v2).

Method Details

__invoke() public method

Create and return HydratorsController instance.
public __invoke ( Interop\Container\ContainerInterface $container, string $requestedName, array $options = null ) : ZF\Apigility\Admin\Controller\HydratorsController
$container Interop\Container\ContainerInterface
$requestedName string
$options array
return ZF\Apigility\Admin\Controller\HydratorsController

createService() public method

Provided for backwards compatibility; proxies to __invoke().
public createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : ZF\Apigility\Admin\Controller\HydratorsController
$container Zend\ServiceManager\ServiceLocatorInterface
return ZF\Apigility\Admin\Controller\HydratorsController