| Total Complexity | 1 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | trait SelectionModeTrait |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * When selectionMode is 'multiple', users may select multiple data points. |
||
| 12 | * |
||
| 13 | * Default: 'single' |
||
| 14 | * |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $selectionMode; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @return $this |
||
| 21 | */ |
||
| 22 | 1 | public function setSelectionMode(string $selectionMode) |
|
| 29 |