diff options
author | Bernhard Schussek <bernhard.schussek@symfony-project.com> | 2011-03-07 15:42:52 +0100 |
---|---|---|
committer | Bernhard Schussek <bernhard.schussek@symfony-project.com> | 2011-03-07 19:16:05 +0100 |
commit | 4a5d6729bc8c7f4adc89c153606617390bb24ca4 (patch) | |
tree | e31633b8ef04acfc224c6649d4656e380b6f6b25 /Http/Authentication/AuthenticationSuccessHandlerInterface.php | |
parent | db1564445584b2bf354558534efa6532e8cb3959 (diff) | |
download | symfony-security-4a5d6729bc8c7f4adc89c153606617390bb24ca4.zip symfony-security-4a5d6729bc8c7f4adc89c153606617390bb24ca4.tar.gz symfony-security-4a5d6729bc8c7f4adc89c153606617390bb24ca4.tar.bz2 |
Renamed EventArgs classes and adapted remaining code to EventManager
The only missing part is ContainerAwareEventManager::addEventSubscriberService(),
because I'm not sure how to find out the class name of a service in the DIC.
Also, inline documentation of this code needs to be finished once it is accepted.
Diffstat (limited to 'Http/Authentication/AuthenticationSuccessHandlerInterface.php')
-rw-r--r-- | Http/Authentication/AuthenticationSuccessHandlerInterface.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Http/Authentication/AuthenticationSuccessHandlerInterface.php b/Http/Authentication/AuthenticationSuccessHandlerInterface.php index e781cbd..30b5e26 100644 --- a/Http/Authentication/AuthenticationSuccessHandlerInterface.php +++ b/Http/Authentication/AuthenticationSuccessHandlerInterface.php @@ -2,7 +2,7 @@ namespace Symfony\Component\Security\Http\Authentication; -use Symfony\Component\HttpKernel\Event\RequestEventArgs; +use Symfony\Component\HttpKernel\Event\GetResponseEventArgs; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; use Symfony\Component\HttpFoundation\Request; @@ -22,12 +22,12 @@ interface AuthenticationSuccessHandlerInterface * is called by authentication listeners inheriting from * AbstractAuthenticationListener. * - * @param RequestEventArgs $eventArgs the "onCoreSecurity" event, this event always + * @param GetResponseEventArgs $eventArgs the "onCoreSecurity" event, this event always * has the kernel as target * @param Request $request * @param TokenInterface $token * * @return Response the response to return */ - function onAuthenticationSuccess(RequestEventArgs $eventArgs, Request $request, TokenInterface $token); + function onAuthenticationSuccess(GetResponseEventArgs $eventArgs, Request $request, TokenInterface $token); }
\ No newline at end of file |