PHP Class ZF\Apigility\Admin\Model\ValidatorMetadataModelFactory

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

Method Details

__invoke() public method

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

createService() public method

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