1 | <?php |
||
18 | abstract class AbstractElement implements Element |
||
19 | { |
||
20 | /** |
||
21 | * @var array |
||
22 | */ |
||
23 | private $options; |
||
24 | |||
25 | /** |
||
26 | * @var array |
||
27 | */ |
||
28 | private $unresolvedOptions; |
||
29 | |||
30 | /** |
||
31 | * @param array $options |
||
32 | */ |
||
33 | public function __construct(array $options = []) |
||
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | public function getRouteParameters() |
||
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | public function getOption($name) |
||
60 | |||
61 | /** |
||
62 | * {@inheritdoc} |
||
63 | */ |
||
64 | public function getOptions() |
||
69 | |||
70 | /** |
||
71 | * {@inheritdoc} |
||
72 | */ |
||
73 | public function hasOption($name) |
||
78 | |||
79 | private function initOptions() |
||
88 | } |
||
89 |