PHP Class ZF\Apigility\Admin\Model\DocumentationModelFactory

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

Method Details

__invoke() public method

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
return DocumentationModel

createService() public method

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