1 | <?php |
||
25 | class ConfigurationLoader |
||
26 | { |
||
27 | /** |
||
28 | * $rootDirectory. |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | protected $rootDirectory; |
||
33 | |||
34 | /** |
||
35 | * $configFilepath. |
||
36 | * |
||
37 | * @var string |
||
38 | */ |
||
39 | protected $configFilepath; |
||
40 | |||
41 | /** |
||
42 | * $filename. |
||
43 | * |
||
44 | * @var string |
||
45 | */ |
||
46 | protected $filename; |
||
47 | |||
48 | /** |
||
49 | * @param string $rootDirectory Directory containing the config file |
||
50 | * @param string $filename Configuration file name |
||
51 | */ |
||
52 | public function __construct( |
||
59 | |||
60 | /** |
||
61 | * loadConfiguration. |
||
62 | * |
||
63 | * @return mixed |
||
64 | */ |
||
65 | public function loadConfiguration() |
||
77 | |||
78 | /** |
||
79 | * getConfigurationFilepath. |
||
80 | * |
||
81 | * @return string The configuration filepath |
||
82 | */ |
||
83 | public function getConfigurationFilepath() |
||
87 | |||
88 | /** |
||
89 | * setConfigurationFilepath. |
||
90 | * |
||
91 | * @param string $configFilepath The configuration filepath |
||
92 | */ |
||
93 | public function setConfigurationFilepath($configFilepath) |
||
97 | |||
98 | /** |
||
99 | * getRootDirectory. |
||
100 | * |
||
101 | * @return string The root directory |
||
102 | */ |
||
103 | public function getRootDirectory() |
||
107 | |||
108 | /** |
||
109 | * setRootDirectory. |
||
110 | * |
||
111 | * @param string $rootDirectory The root directory |
||
112 | */ |
||
113 | public function setRootDirectory($rootDirectory) |
||
117 | } |
||
118 |