PHP Class ZF\Apigility\Admin\Controller\DocumentationControllerFactory

Inheritance: implements Zend\ServiceManager\FactoryInterface
显示文件 Open project: zfcampus/zf-apigility-admin

Public Methods

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

Method Details

__invoke() public method

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

createService() public method

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