Total Complexity | 6 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
10 | abstract class AbstractSubspaceData extends AbstractData |
||
11 | { |
||
12 | #[Column(type: 'integer')] |
||
13 | protected int $d1c = 0; |
||
14 | #[Column(type: 'integer')] |
||
15 | protected int $d2c = 0; |
||
16 | #[Column(type: 'integer')] |
||
17 | protected int $d3c = 0; |
||
18 | #[Column(type: 'integer')] |
||
19 | protected int $d4c = 0; |
||
20 | |||
21 | 1 | public function getDirection1Count(): int |
|
22 | { |
||
23 | 1 | return $this->d1c; |
|
24 | } |
||
25 | |||
26 | 1 | public function getDirection2Count(): int |
|
27 | { |
||
28 | 1 | return $this->d2c; |
|
29 | } |
||
30 | |||
31 | 1 | public function getDirection3Count(): int |
|
32 | { |
||
33 | 1 | return $this->d3c; |
|
34 | } |
||
35 | |||
36 | 1 | public function getDirection4Count(): int |
|
39 | } |
||
40 | |||
41 | 1 | public function isDisabled(): bool |
|
42 | { |
||
47 |