1 | <?php |
||
10 | class ConfigurationFileReader implements ConfigurationFileReaderInterface |
||
11 | { |
||
12 | const CONFIG_FILE = 'php-git-hooks.yml'; |
||
13 | const DEFAULT_CONFIG_FILE = 'php-git-hooks.yml.default'; |
||
14 | |||
15 | /** |
||
16 | * @return Config |
||
17 | */ |
||
18 | public function getData() |
||
28 | |||
29 | /** |
||
30 | * @return bool |
||
31 | */ |
||
32 | private function configFileExists() |
||
36 | |||
37 | /** |
||
38 | * @return array |
||
39 | */ |
||
40 | private function getConfigData() |
||
44 | |||
45 | /** |
||
46 | * @return array |
||
47 | */ |
||
48 | private function getDefaultConfigData() |
||
54 | } |
||
55 |