| Total Complexity | 6 |
| Total Lines | 54 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class Dice extends Tile |
||
| 8 | { |
||
| 9 | /** @var string */ |
||
| 10 | protected $germColor; |
||
| 11 | |||
| 12 | /** @var string */ |
||
| 13 | protected $germSize; |
||
| 14 | |||
| 15 | /** @var string */ |
||
| 16 | protected $germStyle; |
||
| 17 | |||
| 18 | /** @var string */ |
||
| 19 | protected $entryColor; |
||
| 20 | |||
| 21 | /** @var string */ |
||
| 22 | protected $entryDirection; |
||
| 23 | |||
| 24 | 16 | public function __construct( |
|
| 25 | string $germColor, |
||
| 26 | string $germSize, |
||
| 27 | string $germStyle, |
||
| 28 | string $entryColor, |
||
| 29 | string $entryDirection |
||
| 30 | ) { |
||
| 31 | 16 | $this->germColor = $germColor; |
|
| 32 | 16 | $this->germSize = $germSize; |
|
| 33 | 16 | $this->germStyle = $germStyle; |
|
| 34 | 16 | $this->entryColor = $entryColor; |
|
| 35 | 16 | $this->entryDirection = $entryDirection; |
|
| 36 | 16 | } |
|
| 37 | |||
| 38 | 11 | public function getGermColor(): string |
|
| 39 | { |
||
| 40 | 11 | return $this->germColor; |
|
| 41 | } |
||
| 42 | |||
| 43 | 11 | public function getGermSize(): string |
|
| 46 | } |
||
| 47 | |||
| 48 | 11 | public function getGermStyle(): string |
|
| 49 | { |
||
| 50 | 11 | return $this->germStyle; |
|
| 51 | } |
||
| 52 | |||
| 53 | 11 | public function getEntryColor(): string |
|
| 54 | { |
||
| 55 | 11 | return $this->entryColor; |
|
| 56 | } |
||
| 57 | |||
| 58 | 11 | public function getEntryDirection(): string |
|
| 61 | } |
||
| 62 | } |
||
| 63 |