| 1 | <?php |
||
| 8 | class ConfigLoader |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Load the configuration items from all of the files. |
||
| 12 | * |
||
| 13 | * @param string $directoryPath |
||
| 14 | * |
||
| 15 | * @return Illuminate\Contracts\Config\Repository |
||
| 16 | */ |
||
| 17 | 8 | public static function load($directoryPath) |
|
| 25 | |||
| 26 | /** |
||
| 27 | * Load the configuration items from all of the files. |
||
| 28 | * |
||
| 29 | * @param string $directoryPath |
||
| 30 | * @param \Illuminate\Contracts\Config\Repository $config |
||
| 31 | */ |
||
| 32 | 8 | protected function loadConfigurationFiles($directoryPath, Repository $config) |
|
| 38 | |||
| 39 | /** |
||
| 40 | * Get all of the configuration files for the directory. |
||
| 41 | * |
||
| 42 | * @param string $directoryPath |
||
| 43 | * |
||
| 44 | * @return array |
||
| 45 | */ |
||
| 46 | 8 | protected function getConfigurationFiles($directoryPath) |
|
| 59 | } |
||
| 60 |