Skip to content

Commit

Permalink
merged branch elnur/chain-user-provider-getter (PR #7077)
Browse files Browse the repository at this point in the history
This PR was merged into the master branch.

Discussion
----------

[2.3] [Security] Add a getter for providers to the ChainUserProvider class

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes

I've got a use case where I need to check if any of the chained user providers implement a particular interface. This getter would really help with that.

Commits
-------

0a82d73 Add a getter for providers to the ChainUserProvider class
  • Loading branch information
fabpot committed Apr 9, 2013
2 parents c9c687e + 0a82d73 commit b265c9e
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -31,6 +31,14 @@ public function __construct(array $providers)
$this->providers = $providers;
}

/**
* @return array
*/
public function getProviders()
{
return $this->providers;
}

/**
* {@inheritDoc}
*/
Expand Down

0 comments on commit b265c9e

Please sign in to comment.