| 1 | <?php |
||
| 3 | class Config |
||
| 4 | { |
||
| 5 | /** |
||
| 6 | * @var Ajde_Config_Repository |
||
| 7 | */ |
||
| 8 | private $repository; |
||
| 9 | |||
| 10 | /** |
||
| 11 | * TODO |
||
| 12 | */ |
||
| 13 | public function __construct() |
||
| 17 | |||
| 18 | /** |
||
| 19 | * TODO |
||
| 20 | * |
||
| 21 | * @return Config |
||
| 22 | */ |
||
| 23 | public static function getInstance() |
||
| 28 | |||
| 29 | /** |
||
| 30 | * TODO |
||
| 31 | * |
||
| 32 | * @param string $param |
||
| 33 | * @return mixed |
||
| 34 | * @throws Ajde_Exception |
||
| 35 | */ |
||
| 36 | public static function get($param) |
||
| 46 | |||
| 47 | /** |
||
| 48 | * TODO |
||
| 49 | * |
||
| 50 | * @param string $param |
||
| 51 | * @return mixed |
||
| 52 | */ |
||
| 53 | public function __get($param) |
||
| 57 | |||
| 58 | /** |
||
| 59 | * TODO |
||
| 60 | * |
||
| 61 | * @param string $param |
||
| 62 | * @return bool |
||
| 63 | */ |
||
| 64 | public function __isset($param) |
||
| 68 | } |
||
| 69 |