From 9030dc5dfc22845e27dd7247f5456065daea974e Mon Sep 17 00:00:00 2001 From: Jonathan Ingram Date: Thu, 26 Jul 2012 16:07:46 +1000 Subject: [PATCH] [Security] add docblocks to InteractiveLoginEvent Close #5053 (was easier to just create a new PR). --- .../Http/Event/InteractiveLoginEvent.php | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/Symfony/Component/Security/Http/Event/InteractiveLoginEvent.php b/src/Symfony/Component/Security/Http/Event/InteractiveLoginEvent.php index f242501b27..d4c12dfac7 100644 --- a/src/Symfony/Component/Security/Http/Event/InteractiveLoginEvent.php +++ b/src/Symfony/Component/Security/Http/Event/InteractiveLoginEvent.php @@ -17,21 +17,43 @@ use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; class InteractiveLoginEvent extends Event { + /** + * @var Request + */ private $request; + /** + * @var TokenInterface + */ private $authenticationToken; + /** + * Constructor. + * + * @param Request $request + * @param TokenInterface $authenticationToken + */ public function __construct(Request $request, TokenInterface $authenticationToken) { $this->request = $request; $this->authenticationToken = $authenticationToken; } + /** + * Gets the request. + * + * @return Request + */ public function getRequest() { return $this->request; } + /** + * Gets the authentication token. + * + * @return TokenInterface + */ public function getAuthenticationToken() { return $this->authenticationToken;