| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class OptionsFilledField extends Options |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * OptionsFilledField constructor. |
||
| 15 | * @param array<string, string|int|float> $options |
||
| 16 | * @param array<string, string> $attributes |
||
| 17 | */ |
||
| 18 | 1 | public function __construct(array $options = [], array $attributes = []) |
|
| 19 | { |
||
| 20 | 1 | parent::__construct([], $attributes); |
|
| 21 | 1 | $this->setFilledOptions($options); |
|
| 22 | 1 | } |
|
| 23 | |||
| 24 | /** |
||
| 25 | * @param array<string, string|int|float> $options |
||
| 26 | * @return $this |
||
| 27 | */ |
||
| 28 | 1 | public function setFilledOptions(array $options): self |
|
| 32 | } |
||
| 33 | } |
||
| 34 |