| 1 | <?php |
||
| 5 | class Config extends AbstractSystem |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var \BFW\Config|null $config The config object for BFW framework |
||
| 9 | */ |
||
| 10 | protected $config; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * {@inheritdoc} |
||
| 14 | * |
||
| 15 | * @return \BFW\Config|null |
||
| 16 | */ |
||
| 17 | public function __invoke() |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Getter accessor to the property config |
||
| 24 | * |
||
| 25 | * @return \BFW\Config|null |
||
| 26 | */ |
||
| 27 | public function getConfig() |
||
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritdoc} |
||
| 34 | * Define config object and load all config file used by the framework |
||
| 35 | */ |
||
| 36 | public function init() |
||
| 43 | } |
||
| 44 |