@@ 49-60 (lines=12) @@ | ||
46 | /** |
|
47 | * @return Config |
|
48 | */ |
|
49 | protected function getConfigInstance() |
|
50 | { |
|
51 | if (is_null($this->configInstance)) { |
|
52 | $config = new Config; |
|
53 | ||
54 | $config->setMultiple($this->getDefaultConfigs()); |
|
55 | ||
56 | $this->configInstance = $config; |
|
57 | } |
|
58 | ||
59 | return $this->configInstance; |
|
60 | } |
|
61 | ||
62 | ||
63 | /** |
@@ 19-30 (lines=12) @@ | ||
16 | /** |
|
17 | * @return StringOptions |
|
18 | */ |
|
19 | protected function getConfigInstance() |
|
20 | { |
|
21 | if (is_null($this->configInstance)) { |
|
22 | $config = new StringOptions(); |
|
23 | ||
24 | $config->setMultiple($this->getDefaultConfigs()); |
|
25 | ||
26 | $this->configInstance = $config; |
|
27 | } |
|
28 | ||
29 | return $this->configInstance; |
|
30 | } |
|
31 | ||
32 | ||
33 | /** |