1 | <?php |
||
33 | class ExtensionConfiguration implements SingletonInterface |
||
34 | { |
||
35 | /** |
||
36 | * @var array |
||
37 | */ |
||
38 | private $configuration; |
||
39 | |||
40 | /** |
||
41 | * constructor - loading the current localconf configuration for restler extension |
||
42 | * |
||
43 | */ |
||
44 | 5 | public function __construct() |
|
48 | |||
49 | /** |
||
50 | * @return boolean |
||
51 | */ |
||
52 | 1 | public function isCacheRefreshingEnabled() |
|
56 | |||
57 | /** |
||
58 | * @return boolean |
||
59 | */ |
||
60 | 1 | public function isProductionContextSet() |
|
64 | |||
65 | /** |
||
66 | * @return boolean |
||
67 | */ |
||
68 | 1 | public function isOnlineDocumentationEnabled() |
|
72 | |||
73 | /** |
||
74 | * @return string |
||
75 | */ |
||
76 | 1 | public function getPathOfOnlineDocumentation() |
|
80 | |||
81 | /** |
||
82 | * returns configuration value for the given key |
||
83 | * |
||
84 | 1 | * @param string $key |
|
85 | * @return string depending on configuration key |
||
86 | 1 | */ |
|
87 | 1 | private function get($key) |
|
91 | } |
||
92 |