diff options
author | Fabien Potencier <fabien@ykkd010511.sensio.local> | 2011-03-18 19:32:28 +0100 |
---|---|---|
committer | Fabien Potencier <fabien@ykkd010511.sensio.local> | 2011-03-18 19:32:28 +0100 |
commit | 39c0f81d2e202a51e1f88a67f53b6e811a52283a (patch) | |
tree | dcb4db948aab52547a148a214a796ed125dbcf01 /Core/Authentication/Token/TokenInterface.php | |
parent | df50cc3b4031f45308ea05f7d40a5327fb8bf295 (diff) | |
parent | 1b01c74815adeefef0b51ea835568b2db69a24c1 (diff) | |
download | symfony-security-39c0f81d2e202a51e1f88a67f53b6e811a52283a.zip symfony-security-39c0f81d2e202a51e1f88a67f53b6e811a52283a.tar.gz symfony-security-39c0f81d2e202a51e1f88a67f53b6e811a52283a.tar.bz2 |
Merge remote branch 'hhamon/security_token_fix'
Diffstat (limited to 'Core/Authentication/Token/TokenInterface.php')
-rw-r--r-- | Core/Authentication/Token/TokenInterface.php | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Core/Authentication/Token/TokenInterface.php b/Core/Authentication/Token/TokenInterface.php index 63e2243..ceacf92 100644 --- a/Core/Authentication/Token/TokenInterface.php +++ b/Core/Authentication/Token/TokenInterface.php @@ -11,8 +11,6 @@ namespace Symfony\Component\Security\Core\Authentication\Token; -use Symfony\Component\Security\Core\User\UserInterface; - /** * TokenInterface is the interface for the user authentication information. * @@ -22,7 +20,7 @@ use Symfony\Component\Security\Core\User\UserInterface; interface TokenInterface extends \Serializable { /** - * Returns a string representation ofthe Token. + * Returns a string representation of the Token. * * This is only to be used for debugging purposes. * @@ -67,7 +65,7 @@ interface TokenInterface extends \Serializable function getUsername(); /** - * Checks if the user is authenticated or not. + * Returns whether the user is authenticated or not. * * @return Boolean true if the token has been authenticated, false otherwise */ @@ -109,7 +107,7 @@ interface TokenInterface extends \Serializable function hasAttribute($name); /** - * Returns a attribute value. + * Returns an attribute value. * * @param string $name The attribute name * @@ -120,7 +118,7 @@ interface TokenInterface extends \Serializable function getAttribute($name); /** - * Sets a attribute. + * Sets an attribute. * * @param string $name The attribute name * @param mixed $value The attribute value |