summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElnur Abdurrakhimov <elnur@elnur.pro>2013-02-15 06:01:23 +0400
committerElnur Abdurrakhimov <elnur@elnur.pro>2013-02-15 06:01:23 +0400
commitf2f6efb5137a695880fa063849cc8bc469e522d7 (patch)
treeb32a9b08ede01764ff5f644d58eb072c4ccb2efb
parent65dc82d282f0302ea71f6d2a926c90a578086ae7 (diff)
downloadsymfony-security-f2f6efb5137a695880fa063849cc8bc469e522d7.zip
symfony-security-f2f6efb5137a695880fa063849cc8bc469e522d7.tar.gz
symfony-security-f2f6efb5137a695880fa063849cc8bc469e522d7.tar.bz2
Add a getter for providers to the ChainUserProvider class
-rw-r--r--Core/User/ChainUserProvider.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/Core/User/ChainUserProvider.php b/Core/User/ChainUserProvider.php
index 3ff1ea9..fc72074 100644
--- a/Core/User/ChainUserProvider.php
+++ b/Core/User/ChainUserProvider.php
@@ -32,6 +32,14 @@ class ChainUserProvider implements UserProviderInterface
}
/**
+ * @return array
+ */
+ public function getProviders()
+ {
+ return $this->providers;
+ }
+
+ /**
* {@inheritDoc}
*/
public function loadUserByUsername($username)