merged branch jonathaningram/patch-9 (PR #5055)

Commits
-------

9030dc5 [Security] add docblocks to InteractiveLoginEvent

Discussion
----------

[Security] add docblocks to InteractiveLoginEvent

Close #5053 (was easier to just create a new PR).
This commit is contained in:
Fabien Potencier 2012-07-26 08:12:53 +02:00
commit aed3bd3936
1 changed files with 22 additions and 0 deletions

View File

@ -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;