PHP Class ZF\Apigility\Admin\Model\ValidatorsModelFactory

Inheritance: implements Zend\ServiceManager\FactoryInterface
Datei anzeigen Open project: zfcampus/zf-apigility-admin

Public Methods

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

Method Details

__invoke() public method

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

createService() public method

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