1 | <?php |
||
16 | class SiteAliasWithConfig implements AliasRecordInterface |
||
17 | { |
||
18 | use AliasRecordTrait; |
||
19 | |||
20 | protected $runtimeConfig; |
||
21 | protected $siteAlias; |
||
22 | protected $defaultConfig; |
||
23 | |||
24 | public function __construct(ConfigInterface $runtimeConfig, AliasRecordInterface $siteAlias, ConfigInterface $defaultConfig) |
||
30 | |||
31 | /** |
||
32 | * @inheritdoc |
||
33 | */ |
||
34 | public function name() |
||
38 | |||
39 | /** |
||
40 | * @inheritdoc |
||
41 | */ |
||
42 | public function setName($name) |
||
46 | |||
47 | /** |
||
48 | * @inheritdoc |
||
49 | */ |
||
50 | public function has($key) |
||
57 | |||
58 | /** |
||
59 | * @inheritdoc |
||
60 | */ |
||
61 | public function get($key, $defaultFallback = null) |
||
75 | |||
76 | /** |
||
77 | * @inheritdoc |
||
78 | */ |
||
79 | public function set($key, $value) |
||
83 | |||
84 | /** |
||
85 | * @inheritdoc |
||
86 | */ |
||
87 | public function import($data) |
||
91 | |||
92 | /** |
||
93 | * @inheritdoc |
||
94 | */ |
||
95 | public function replace($data) |
||
99 | |||
100 | /** |
||
101 | * @inheritdoc |
||
102 | */ |
||
103 | public function combine($data) |
||
107 | |||
108 | /** |
||
109 | * Export all configuration as a nested array. |
||
110 | */ |
||
111 | public function export() |
||
115 | |||
116 | /** |
||
117 | * @inheritdoc |
||
118 | */ |
||
119 | public function hasDefault($key) |
||
123 | |||
124 | /** |
||
125 | * @inheritdoc |
||
126 | */ |
||
127 | public function getDefault($key, $defaultFallback = null) |
||
131 | |||
132 | /** |
||
133 | * @inheritdoc |
||
134 | */ |
||
135 | public function setDefault($key, $value) |
||
139 | |||
140 | /** |
||
141 | * @inheritdoc |
||
142 | */ |
||
143 | public function exportConfig() |
||
147 | |||
148 | protected function changesProhibited() |
||
152 | } |
||
153 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.