interface AccessDeniedHandlerInterface

This is used by the ExceptionListener to translate an AccessDeniedException to a Response object.

Methods

handle(Request $request, AccessDeniedException $accessDeniedException)

Handles an access denied failure.

Details

at line line 34
Response handle(Request $request, AccessDeniedException $accessDeniedException)

Handles an access denied failure.

Parameters

Request $request
AccessDeniedException $accessDeniedException

Return Value

Response may return null