1 | <?php |
||
8 | class Config |
||
9 | { |
||
10 | /** |
||
11 | * @var null |
||
12 | */ |
||
13 | protected static $configDir = null; |
||
14 | /** |
||
15 | * @var array |
||
16 | */ |
||
17 | protected static $dataConfig = array(); |
||
18 | |||
19 | /** |
||
20 | * @param $name |
||
21 | * @return mixed |
||
22 | */ |
||
23 | public static function get($name) |
||
34 | |||
35 | /** |
||
36 | * @param $filename |
||
37 | * @return array|mixed |
||
38 | */ |
||
39 | public static function load($filename) |
||
48 | |||
49 | /** |
||
50 | * Init $configDir |
||
51 | */ |
||
52 | protected static function initConfigDir() |
||
56 | } |
||
57 |