| 1 | <?php |
||
| 7 | trait OptionsTrait |
||
| 8 | { |
||
| 9 | protected $options = []; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @param string $key |
||
| 13 | * @return mixed |
||
| 14 | * @throws NoSuchOptionException |
||
| 15 | */ |
||
| 16 | public function getOption(string $key, array $options = null) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param array $options |
||
| 28 | * @return array |
||
| 29 | */ |
||
| 30 | public function getMergedOptions(array ...$options): array |
||
| 34 | } |
||
| 35 |