1 | <?php |
||
33 | class ExtensionConfiguration |
||
34 | { |
||
35 | /** |
||
36 | * Extension Configuration |
||
37 | * |
||
38 | * @var array |
||
39 | */ |
||
40 | protected $configuration = []; |
||
41 | |||
42 | /** |
||
43 | * ExtensionConfiguration constructor. |
||
44 | * @param array $configurationToUse |
||
45 | */ |
||
46 | 63 | public function __construct($configurationToUse = []) |
|
54 | |||
55 | /** |
||
56 | * Get configuration for useConfigurationFromClosestTemplate |
||
57 | * |
||
58 | 63 | * @return bool |
|
59 | */ |
||
60 | 63 | public function getIsUseConfigurationFromClosestTemplateEnabled() |
|
64 | |||
65 | /** |
||
66 | * Get configuration for useConfigurationTrackRecordsOutsideSiteroot |
||
67 | * |
||
68 | 63 | * @return bool |
|
69 | */ |
||
70 | 63 | public function getIsUseConfigurationTrackRecordsOutsideSiteroot() |
|
74 | |||
75 | /** |
||
76 | * @param string $key |
||
77 | * @param mixed $defaultValue |
||
78 | * @return mixed |
||
79 | */ |
||
80 | protected function getConfigurationOrDefaultValue($key, $defaultValue) |
||
84 | } |
||
85 |