diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2011-03-17 17:45:51 +0100 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2011-03-18 07:35:59 +0100 |
commit | 52f55ff2d47aa5daae1fec45f46aa85bc830f6ce (patch) | |
tree | 44539f624825265ca5ab6c69582a720ba3e4f5b6 /Http/Authorization/AccessDeniedHandlerInterface.php | |
parent | 65617daf08089051c092962015f26998624d56ba (diff) | |
download | symfony-security-52f55ff2d47aa5daae1fec45f46aa85bc830f6ce.zip symfony-security-52f55ff2d47aa5daae1fec45f46aa85bc830f6ce.tar.gz symfony-security-52f55ff2d47aa5daae1fec45f46aa85bc830f6ce.tar.bz2 |
fixed various bugs introduced during the event system migration
Diffstat (limited to 'Http/Authorization/AccessDeniedHandlerInterface.php')
-rw-r--r-- | Http/Authorization/AccessDeniedHandlerInterface.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Http/Authorization/AccessDeniedHandlerInterface.php b/Http/Authorization/AccessDeniedHandlerInterface.php index 8474fce..c33353b 100644 --- a/Http/Authorization/AccessDeniedHandlerInterface.php +++ b/Http/Authorization/AccessDeniedHandlerInterface.php @@ -5,6 +5,7 @@ namespace Symfony\Component\Security\Http\Authorization; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpKernel\Event\ExceptionEvent; use Symfony\Component\Security\Core\Exception\AccessDeniedException; +use Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent; /** * This is used by the ExceptionListener to translate an AccessDeniedException @@ -17,11 +18,11 @@ interface AccessDeniedHandlerInterface /** * Handles an access denied failure. * - * @param ExceptionEvent $event - * @param Request $request - * @param AccessDeniedException $accessDeniedException + * @param GetResponseForExceptionEvent $event + * @param Request $request + * @param AccessDeniedException $accessDeniedException * * @return Response may return null */ - function handle(ExceptionEvent $event, Request $request, AccessDeniedException $accessDeniedException); -}
\ No newline at end of file + function handle(GetResponseForExceptionEvent $event, Request $request, AccessDeniedException $accessDeniedException); +} |