Total Complexity | 4 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | abstract class InheritableSettingsModel extends VarsModel |
||
24 | { |
||
25 | |||
26 | /** |
||
27 | * @var array A list of all the settings for which the inherited values should be used. |
||
28 | */ |
||
29 | public $inherited = []; |
||
30 | |||
31 | /** |
||
32 | * @var array A list of all the settings for which the inherited values are overridden. |
||
33 | */ |
||
34 | public $overrides = []; |
||
35 | |||
36 | /** |
||
37 | * Keep track of which settings to use the override for. |
||
38 | * |
||
39 | * @param string $name |
||
40 | * @param mixed $value |
||
41 | * @throws \yii\base\UnknownPropertyException |
||
42 | */ |
||
43 | public function __set($name, $value) |
||
64 |