AccessDeniedHandlerInterface

AccessDeniedHandlerInterface

interface AccessDeniedHandlerInterface

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

Methods

Response handle(Request $request, AccessDeniedException $accessDeniedException)

Handles an access denied failure.

Details