Total Complexity | 3 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
5 | class SelectableStyle implements ItemStyleInterface |
||
6 | { |
||
7 | use ItemStyleTrait; |
||
8 | |||
9 | protected const DEFAULT_STYLES = [ |
||
10 | 'markerOn' => '● ', |
||
11 | 'markerOff' => '○ ', |
||
12 | 'itemExtra' => '✔', |
||
13 | 'displaysExtra' => false, |
||
14 | ]; |
||
15 | |||
16 | public function __construct() |
||
24 | } |
||
25 | |||
26 | public function toArray(): array |
||
33 | ]; |
||
34 | } |
||
35 | |||
36 | public function fromArray(array $style) : self |
||
46 |