summaryrefslogtreecommitdiffstats
path: root/Core/User/ChainUserProvider.php
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2011-06-16 18:00:36 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2011-06-16 18:00:36 +0200
commita35825a241b2b0fa0d5c74e7a580ada9bdb70290 (patch)
treeca0be7f00fa6d447f0ca2685e234087571c3580e /Core/User/ChainUserProvider.php
parent4015cc3ce76a4bbfebea001dcb03f523de3b8edf (diff)
downloadsymfony-security-a35825a241b2b0fa0d5c74e7a580ada9bdb70290.zip
symfony-security-a35825a241b2b0fa0d5c74e7a580ada9bdb70290.tar.gz
symfony-security-a35825a241b2b0fa0d5c74e7a580ada9bdb70290.tar.bz2
[Security] renamed UserProviderInterface::loadUser() to refreshUser()
Diffstat (limited to 'Core/User/ChainUserProvider.php')
-rw-r--r--Core/User/ChainUserProvider.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Core/User/ChainUserProvider.php b/Core/User/ChainUserProvider.php
index d2b6e8c..e6aca32 100644
--- a/Core/User/ChainUserProvider.php
+++ b/Core/User/ChainUserProvider.php
@@ -50,11 +50,11 @@ class ChainUserProvider implements UserProviderInterface
/**
* {@inheritDoc}
*/
- public function loadUser(UserInterface $user)
+ public function refreshUser(UserInterface $user)
{
foreach ($this->providers as $provider) {
try {
- return $provider->loadUser($user);
+ return $provider->refreshUser($user);
} catch (UnsupportedUserException $unsupported) {
// try next one
}