| Total Complexity | 5 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class MultipleStarPlayer extends StarPlayer implements InducementInterface |
||
| 9 | { |
||
| 10 | protected $parts = []; |
||
| 11 | |||
| 12 | protected function hydrateWithOptions() |
||
| 13 | { |
||
| 14 | parent::hydrateWithOptions(); |
||
| 15 | $this->parts = $this->options['parts'] ?? []; |
||
| 16 | } |
||
| 17 | |||
| 18 | public function isMultiple(): bool |
||
| 21 | } |
||
| 22 | |||
| 23 | public function setParts(array $parts):self |
||
| 24 | { |
||
| 25 | $this->parts = $parts; |
||
| 26 | return $this; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function getParts():array |
||
| 32 | } |
||
| 33 | |||
| 34 | public function configureOptions(OptionsResolver $resolver):void |
||
| 42 | ; |
||
| 43 | } |
||
| 45 |