1 | <?php |
||
5 | class Options extends AbstractSystem |
||
6 | { |
||
7 | /** |
||
8 | * @var \BFW\Core\Options|null $options |
||
9 | */ |
||
10 | protected $options; |
||
11 | |||
12 | /** |
||
13 | * {@inheritdoc} |
||
14 | * |
||
15 | * @return \BFW\Core\Options|null |
||
16 | */ |
||
17 | public function __invoke() |
||
21 | |||
22 | /** |
||
23 | * Getter accessor to property options |
||
24 | * |
||
25 | * @return \BFW\Core\Options|null |
||
26 | */ |
||
27 | public function getOptions() |
||
31 | |||
32 | /** |
||
33 | * {@inheritdoc} |
||
34 | * Initialize option system with parameter passed to Application |
||
35 | */ |
||
36 | public function init() |
||
50 | |||
51 | /** |
||
52 | * Define default option values |
||
53 | * |
||
54 | * @return array |
||
55 | */ |
||
56 | protected function obtainDefaultOptions() |
||
64 | } |
||
65 |