PHP Class ZF\Apigility\Admin\Model\DocumentationModelFactory

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

Method Details

__invoke() public méthode

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

createService() public méthode

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