Total Complexity | 6 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class MultipleStarPlayer extends AbstractInducement implements InducementInterface |
||
8 | { |
||
9 | protected $parts = []; |
||
10 | |||
11 | public function __construct(array $options = []) |
||
12 | { |
||
13 | parent::__construct($options); |
||
14 | if (isset($options['parts']) && $options['parts']) { |
||
15 | $this->setParts($options['parts']); |
||
16 | } |
||
17 | } |
||
18 | |||
19 | public function isMultiple(): bool |
||
22 | } |
||
23 | |||
24 | public function setParts(array $parts):self |
||
25 | { |
||
26 | $this->parts = $parts; |
||
27 | return $this; |
||
28 | } |
||
29 | |||
30 | public function getParts():array |
||
33 | } |
||
34 | } |
||
35 |