ZF\Apigility\Admin\Controller\DocumentationControllerFactory::__invoke PHP Method

__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
    public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
    {
        return new DocumentationController($container->get(DocumentationModel::class));
    }
DocumentationControllerFactory