PHP 클래스 Baikal\AdminBundle\Service\AccessDeniedHandler

상속: implements Symfony\Component\Security\Http\Authorization\AccessDeniedHandlerInterface
파일 보기 프로젝트 열기: fruux/Baikal2

공개 메소드들

메소드 설명
__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