Total Complexity | 4 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
7 | abstract class AbstractSelectionFromMap implements SelectionProviderInterface |
||
8 | { |
||
9 | /** |
||
10 | * @var array |
||
11 | */ |
||
12 | protected $selection = []; |
||
13 | |||
14 | /** |
||
15 | * |
||
16 | */ |
||
17 | public function __construct(array $selection) |
||
18 | { |
||
19 | $this->selection = $selection; |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * Get the value of selection |
||
24 | * |
||
25 | * @return array |
||
26 | */ |
||
27 | public function getSelection(): array |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * |
||
34 | */ |
||
35 | public function provideSelectionsData(): array |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * |
||
42 | */ |
||
43 | public function defineSelectionValue($item): string |
||
48 |