summaryrefslogtreecommitdiffstats
path: root/Core/User/UserProviderInterface.php
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2012-01-09 12:13:49 +0100
committerFabien Potencier <fabien.potencier@gmail.com>2012-01-09 12:13:49 +0100
commit646b2d922ff94aeba9647665a01235389aae6ff0 (patch)
tree8639a6ee66bea423d6f1ed81b2fe1c86cc756484 /Core/User/UserProviderInterface.php
parent892c9881f2b2253050107493b435805e4e2e63b2 (diff)
downloadsymfony-security-646b2d922ff94aeba9647665a01235389aae6ff0.zip
symfony-security-646b2d922ff94aeba9647665a01235389aae6ff0.tar.gz
symfony-security-646b2d922ff94aeba9647665a01235389aae6ff0.tar.bz2
fixed CS
Diffstat (limited to 'Core/User/UserProviderInterface.php')
-rw-r--r--Core/User/UserProviderInterface.php17
1 files changed, 12 insertions, 5 deletions
diff --git a/Core/User/UserProviderInterface.php b/Core/User/UserProviderInterface.php
index d79b7a1..dbd7924 100644
--- a/Core/User/UserProviderInterface.php
+++ b/Core/User/UserProviderInterface.php
@@ -11,6 +11,9 @@
namespace Symfony\Component\Security\Core\User;
+use Symfony\Component\Security\Core\Exception\UsernameNotFoundException;
+use Symfony\Component\Security\Core\Exception\UnsupportedUserException;
+
/**
* Represents a class that loads UserInterface objects from some source for the authentication system.
*
@@ -24,7 +27,8 @@ namespace Symfony\Component\Security\Core\User;
* configuration, web service). This is totally independent of how the authentication
* information is submitted or what the UserInterface object looks like.
*
- * @see Symfony\Component\Security\Core\User\UserInterface
+ * @see UserInterface
+ *
* @author Fabien Potencier <fabien@symfony.com>
*/
interface UserProviderInterface
@@ -35,11 +39,14 @@ interface UserProviderInterface
* This method must throw UsernameNotFoundException if the user is not
* found.
*
- * @see UsernameNotFoundException
- * @throws Symfony\Component\Security\Core\Exception\UsernameNotFoundException if the user is not found
* @param string $username The username
*
* @return UserInterface
+ *
+ * @see UsernameNotFoundException
+ *
+ * @throws UsernameNotFoundException if the user is not found
+ *
*/
function loadUserByUsername($username);
@@ -50,11 +57,11 @@ interface UserProviderInterface
* totally reloaded (e.g. from the database), or if the UserInterface
* object can just be merged into some internal array of users / identity
* map.
- *
- * @throws Symfony\Component\Security\Core\Exception\UnsupportedUserException if the account is not supported
* @param UserInterface $user
*
* @return UserInterface
+ *
+ * @throws UnsupportedUserException if the account is not supported
*/
function refreshUser(UserInterface $user);