PHP Класс Baikal\FrontendBundle\Service\AccessDeniedHandler

Наследование: implements Symfony\Component\Security\Http\Authorization\AccessDeniedHandlerInterface
Показать файл Открыть проект

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

Метод Описание
__construct ( Symfony\Component\HttpKernel\HttpKernelInterface $http_kernel, Symfony\Component\Security\Core\SecurityContextInterface $securityContext, Symfony\Component\Routing\RouterInterface $router )
handle ( Request $request, Symfony\Component\Security\Core\Exception\AccessDeniedException $accessDeniedException ) : Response Handles an access denied failure.

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

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

public __construct ( Symfony\Component\HttpKernel\HttpKernelInterface $http_kernel, Symfony\Component\Security\Core\SecurityContextInterface $securityContext, Symfony\Component\Routing\RouterInterface $router )
$http_kernel Symfony\Component\HttpKernel\HttpKernelInterface
$securityContext Symfony\Component\Security\Core\SecurityContextInterface
$router Symfony\Component\Routing\RouterInterface

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

Handles an access denied failure.
public handle ( Request $request, Symfony\Component\Security\Core\Exception\AccessDeniedException $accessDeniedException ) : Response
$request Symfony\Component\HttpFoundation\Request
$accessDeniedException Symfony\Component\Security\Core\Exception\AccessDeniedException
Результат Response may return null