summaryrefslogtreecommitdiffstats
path: root/Http/ExceptionTranslation
diff options
context:
space:
mode:
authorJohannes Schmitt <schmittjoh@gmail.com>2011-01-27 08:34:19 +0100
committerFabien Potencier <fabien.potencier@gmail.com>2011-01-27 13:49:00 +0100
commit09b461182284fe277c7c5c2a511dd71f280db765 (patch)
tree3407f9e48f4e0487a53b42d4fd0005f9fb2768a6 /Http/ExceptionTranslation
parentbebc09870cb0a7720e2c6a8c5c74585e69e8bb24 (diff)
downloadsymfony-security-09b461182284fe277c7c5c2a511dd71f280db765.zip
symfony-security-09b461182284fe277c7c5c2a511dd71f280db765.tar.gz
symfony-security-09b461182284fe277c7c5c2a511dd71f280db765.tar.bz2
added some doc comments
Diffstat (limited to 'Http/ExceptionTranslation')
-rw-r--r--Http/ExceptionTranslation/AccessDeniedHandlerInterface.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/Http/ExceptionTranslation/AccessDeniedHandlerInterface.php b/Http/ExceptionTranslation/AccessDeniedHandlerInterface.php
deleted file mode 100644
index ba9553e..0000000
--- a/Http/ExceptionTranslation/AccessDeniedHandlerInterface.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-
-namespace Symfony\Component\Security\Http\ExceptionTranslation;
-
-use Symfony\Component\HttpFoundation\Request;
-use Symfony\Component\EventDispatcher\EventInterface;
-use Symfony\Component\Security\Core\Exception\AccessDeniedException;
-
-/**
- * This is used by the ExceptionListener to translate an AccessDeniedException
- * to a Response object.
- *
- * @author Johannes M. Schmitt <schmittjoh@gmail.com>
- */
-interface AccessDeniedHandlerInterface
-{
- /**
- * Handles an access denied failure.
- *
- * @param EventInterface $event
- * @param Request $request
- * @param AccessDeniedException $accessDeniedException
- *
- * @return Response may return null
- */
- function handle(EventInterface $event, Request $request, AccessDeniedException $accessDeniedException);
-} \ No newline at end of file