Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
36 | public function fromArray(array $style) : self |
||
37 | { |
||
38 | $this->markerOn = $style['markerOn'] ?? $this->markerOn; |
||
39 | $this->markerOff = $style['markerOff'] ?? $this->markerOff; |
||
40 | $this->itemExtra = $style['itemExtra'] ?? $this->itemExtra; |
||
41 | $this->displaysExtra = $style['displaysExtra'] ?? $this->displaysExtra; |
||
42 | |||
43 | return $this; |
||
44 | } |
||
46 |