PHP Class ZF\Apigility\Admin\Controller\FiltersControllerFactory

Inheritance: implements Zend\ServiceManager\FactoryInterface
显示文件 Open project: zfcampus/zf-apigility-admin

Public Methods

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

Method Details

__invoke() public method

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

createService() public method

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