| 1 | <?php |
||
| 16 | class ConfigurationLoader extends ConsoleBase |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * The configuration file name to look for |
||
| 20 | * |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | const CONFIGURATION_FILE = 'console.yml'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Load the YAML configuration for the application and return it |
||
| 27 | * |
||
| 28 | * @return array |
||
| 29 | * @throws RuntimeException If the filecould not be loaded |
||
| 30 | */ |
||
| 31 | 2 | public function load() |
|
| 40 | |||
| 41 | /** |
||
| 42 | * Return the path to the configuration file |
||
| 43 | * |
||
| 44 | * @return string |
||
| 45 | */ |
||
| 46 | 3 | public function getFilePath() |
|
| 50 | } |
||
| 51 |