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

__invoke() public method

public __invoke ( Interop\Container\ContainerInterface $container, string $requestedName, array $options = null ) : AuthorizationController
$container Interop\Container\ContainerInterface
$requestedName string
$options array
return AuthorizationController
    public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
    {
        return new AuthorizationController($container->get(AuthorizationModelFactory::class));
    }
AuthorizationControllerFactory