We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 570741c commit b36e1a4Copy full SHA for b36e1a4
src/WebApp/Configuration.php
@@ -8,6 +8,8 @@
8
class Configuration {
9
10
protected $data;
11
+ protected $credentialProviders;
12
+
13
14
public function __construct($config) {
15
$this->data = json_decode(json_encode($config));
@@ -33,7 +35,7 @@ public function has($feature) {
33
35
}
34
36
37
/** Return credentials provider when credentials are defined */
- public function getCredentialsProvider($feature, $vault) {
38
+ public function getCredentialsProvider($feature, $vault = NULL) {
39
if ($this->has($feature)) {
40
if (!isset($this->credentialProviders->$feature)) {
41
if (!isset($this->credentialProviders)) $this->credentialProviders = new \stdClass;
0 commit comments