PHP Class Baikal\FrontendBundle\Service\AccessDeniedHandler

Inheritance: implements Symfony\Component\Security\Http\Authorization\AccessDeniedHandlerInterface
Afficher le fichier Open project: fruux/Baikal2

Méthodes publiques

Méthode Description
__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.

Method Details

__construct() public méthode

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() public méthode

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
Résultat Response may return null