From 0a82d73b0979fa589eb84ece07983f540e23df7c Mon Sep 17 00:00:00 2001 From: Elnur Abdurrakhimov Date: Fri, 15 Feb 2013 06:01:23 +0400 Subject: [PATCH] Add a getter for providers to the ChainUserProvider class --- .../Component/Security/Core/User/ChainUserProvider.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Symfony/Component/Security/Core/User/ChainUserProvider.php b/src/Symfony/Component/Security/Core/User/ChainUserProvider.php index 3ff1ea9372..fc720746dd 100644 --- a/src/Symfony/Component/Security/Core/User/ChainUserProvider.php +++ b/src/Symfony/Component/Security/Core/User/ChainUserProvider.php @@ -31,6 +31,14 @@ class ChainUserProvider implements UserProviderInterface $this->providers = $providers; } + /** + * @return array + */ + public function getProviders() + { + return $this->providers; + } + /** * {@inheritDoc} */