PHP Class ZF\Apigility\Admin\Model\InputFilterModelFactory

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 ) : InputFilterModel Create and return an InputFilterModel instance.
createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : InputFilterModel Create and return an InputFilterModel instance (v2).

Method Details

__invoke() public method

Create and return an InputFilterModel instance.
public __invoke ( Interop\Container\ContainerInterface $container, string $requestedName, array $options = null ) : InputFilterModel
$container Interop\Container\ContainerInterface
$requestedName string
$options array
return InputFilterModel

createService() public method

Provided for backwards compatibility; proxies to __invoke().
public createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : InputFilterModel
$container Zend\ServiceManager\ServiceLocatorInterface
return InputFilterModel