PHP Class ZF\Apigility\Admin\Controller\ValidatorsControllerFactory

Inheritance: implements Zend\ServiceManager\FactoryInterface
Mostrar archivo Open project: zfcampus/zf-apigility-admin

Public Methods

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

Method Details

__invoke() public method

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

createService() public method

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