PHP Класс ZF\OAuth2\Factory\AuthControllerFactory

Наследование: implements Zend\ServiceManager\FactoryInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__invoke ( Interop\Container\ContainerInterface $container, string $requestedName, array $options = null ) : AuthController
createService ( Zend\ServiceManager\ServiceLocatorInterface $controllers, null | string $name = null, null | string $requestedName = null ) : AuthController

Приватные методы

Метод Описание
getOAuth2ServerFactory ( Interop\Container\ContainerInterface $container ) : callable Retrieve the OAuth2\Server factory.
marshalApiProblemErrorResponse ( Interop\Container\ContainerInterface $container ) : boolean Determine whether or not to render API Problem error responses.

Описание методов

__invoke() публичный Метод

public __invoke ( Interop\Container\ContainerInterface $container, string $requestedName, array $options = null ) : AuthController
$container Interop\Container\ContainerInterface
$requestedName string
$options array
Результат ZF\OAuth2\Controller\AuthController

createService() публичный Метод

public createService ( Zend\ServiceManager\ServiceLocatorInterface $controllers, null | string $name = null, null | string $requestedName = null ) : AuthController
$controllers Zend\ServiceManager\ServiceLocatorInterface
$name null | string
$requestedName null | string
Результат ZF\OAuth2\Controller\AuthController