| 1 | <?php |
||
| 24 | class Configuration extends Singleton |
||
|
|
|||
| 25 | { |
||
| 26 | use ExtendedArrayTrait; |
||
| 27 | |||
| 28 | private static $configuration = [ ]; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var string |
||
| 32 | */ |
||
| 33 | protected static $file = '/Configuration/configuration.yml'; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param string $key |
||
| 37 | * @return mixed |
||
| 38 | */ |
||
| 39 | 1 | public static function get($key) |
|
| 44 | |||
| 45 | /** |
||
| 46 | * Get Configuration |
||
| 47 | * |
||
| 48 | * @return array |
||
| 49 | */ |
||
| 50 | public static function getConfiguration() |
||
| 54 | } |
||
| 55 |