1 | <?php |
||
14 | class ConfigLoader |
||
15 | { |
||
16 | /** |
||
17 | * Filepath to Yaml configuration file |
||
18 | * @var String |
||
19 | */ |
||
20 | private $filepath; |
||
21 | |||
22 | /** |
||
23 | * ConfigLoader constructor. |
||
24 | * @param $filepath |
||
25 | */ |
||
26 | 1 | public function __construct($filepath) |
|
30 | |||
31 | /** |
||
32 | * Process configuration and make sure the configuration format is as expected |
||
33 | * |
||
34 | * @return array |
||
35 | */ |
||
36 | 1 | public function load() |
|
67 | } |
||
68 |