diff options
author | hhamon <hugo.hamon@sensio.com> | 2011-03-18 18:44:04 +0100 |
---|---|---|
committer | hhamon <hugo.hamon@sensio.com> | 2011-03-18 18:44:04 +0100 |
commit | 1b01c74815adeefef0b51ea835568b2db69a24c1 (patch) | |
tree | bb267506e2359bb6659d090a7908e6265bb72faf /Core/Authentication/Token/TokenInterface.php | |
parent | 66ddc5d30f049972a4ce9ba4b1f1c0206bd78ee9 (diff) | |
download | symfony-security-1b01c74815adeefef0b51ea835568b2db69a24c1.zip symfony-security-1b01c74815adeefef0b51ea835568b2db69a24c1.tar.gz symfony-security-1b01c74815adeefef0b51ea835568b2db69a24c1.tar.bz2 |
[Security] removed import of the UserInterface interface as it is unused in the file and fix some phpdoc.
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 |