1 | <?php |
||
5 | abstract class ExtendableConfigurationContainer extends InheritingConfigurationContainer |
||
6 | { |
||
7 | /** |
||
8 | * Loads the parent instance specified in the 'extends' key |
||
9 | */ |
||
10 | 117 | protected function loadParent() |
|
16 | |||
17 | /** |
||
18 | * {@inheritdoc} |
||
19 | * @param string $key |
||
20 | */ |
||
21 | 117 | protected function getValueOrFail($key, $errorMessage) |
|
22 | { |
||
23 | 117 | $this->loadParent(); |
|
24 | |||
25 | 114 | return parent::getValueOrFail($key, $errorMessage); |
|
26 | } |
||
27 | |||
28 | /** |
||
29 | * {@inheritdoc} |
||
30 | * @param string $key |
||
31 | */ |
||
32 | 69 | protected function getValueOrDefault($key, $default) |
|
38 | } |
||
39 |