| 1 | <?php |
||
| 3 | class Ajde_Config |
||
| 4 | { |
||
| 5 | /** |
||
| 6 | * @var Ajde_Config_Repository |
||
| 7 | */ |
||
| 8 | private $repository; |
||
| 9 | |||
| 10 | /** |
||
| 11 | * TODO |
||
| 12 | */ |
||
| 13 | public function __construct() |
||
| 21 | |||
| 22 | /** |
||
| 23 | * TODO |
||
| 24 | * |
||
| 25 | * @return Config |
||
| 26 | */ |
||
| 27 | public static function getInstance() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * TODO |
||
| 36 | * |
||
| 37 | * @param string $param |
||
| 38 | * @return mixed |
||
| 39 | * @throws Ajde_Exception |
||
| 40 | */ |
||
| 41 | public static function get($param) |
||
| 47 | |||
| 48 | /** |
||
| 49 | * TODO |
||
| 50 | * |
||
| 51 | * @param string $param |
||
| 52 | * @param mixed $value |
||
| 53 | */ |
||
| 54 | public static function set($param, $value) |
||
| 60 | |||
| 61 | /** |
||
| 62 | * TODO |
||
| 63 | * |
||
| 64 | * @return Ajde_Config_Repository |
||
| 65 | */ |
||
| 66 | public static function repository() |
||
| 72 | } |
||
| 73 |