| Total Complexity | 8 |
| Total Lines | 61 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class MultiSelect extends Select |
||
| 12 | { |
||
| 13 | protected const ERROR_NO_CONTENT = 'MultiSelect can not contain nodes'; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * MultiSelect constructor. |
||
| 17 | * |
||
| 18 | * @param string $inputId |
||
| 19 | * @param string $name |
||
| 20 | * @param string[] $intents |
||
| 21 | * @param array<string, Attribute>|null $attributes |
||
| 22 | * @param string|null $tag |
||
| 23 | */ |
||
| 24 | public function __construct( |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @suppress PhanParamSignatureMismatch |
||
| 39 | * |
||
| 40 | * @return string[] |
||
| 41 | */ |
||
| 42 | public function getValue() |
||
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @param string|string[] $value |
||
| 56 | * |
||
| 57 | * @return $this |
||
| 58 | */ |
||
| 59 | public function setValue($value): self |
||
| 74 |