interface AccessDeniedHandlerInterface
This is used by the ExceptionListener to translate an AccessDeniedException to a Response object.
Response | handle(Request $request, AccessDeniedException $accessDeniedException) Handles an access denied failure. |
Handles an access denied failure.
Request | $request | |
AccessDeniedException | $accessDeniedException |
Response | may return null |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Security/Http/Authorization/AccessDeniedHandlerInterface.html