Total Complexity | 4 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | trait MultiValueSelectionTrait |
||
6 | { |
||
7 | /** |
||
8 | * |
||
9 | */ |
||
10 | protected function isSelectionSelected(string $value): bool |
||
13 | } |
||
14 | |||
15 | /** |
||
16 | * Set the value of value |
||
17 | * |
||
18 | * @param mixed $value |
||
19 | * |
||
20 | * @return self |
||
21 | */ |
||
22 | public function setValue($value) |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * Get value for hidden input that facilitates unsetting all values on the server |
||
31 | * |
||
32 | * @return string |
||
33 | */ |
||
34 | public function getClearControl(): string |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * Set value for hidden input that facilitates unsetting all values on the server |
||
41 | * |
||
42 | * @param string |
||
43 | * |
||
44 | * @return self |
||
45 | */ |
||
46 | public function setClearControl(string $clearControl) |
||
53 |