PHP Class ZF\Apigility\Admin\Model\ValidatorsModelFactory

Inheritance: implements Zend\ServiceManager\FactoryInterface
Afficher le fichier Open project: zfcampus/zf-apigility-admin

Méthodes publiques

Méthode 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 méthode

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
Résultat ValidatorsModel

createService() public méthode

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