Total Complexity | 4 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class GridValues |
||
15 | { |
||
16 | private float $x; |
||
17 | private float $y; |
||
18 | private array $values; |
||
19 | |||
20 | 27 | public function __construct(float $x, float $y, array $values) |
|
21 | { |
||
22 | 27 | $this->x = $x; |
|
23 | 27 | $this->y = $y; |
|
24 | 27 | $this->values = $values; |
|
25 | 27 | } |
|
26 | |||
27 | 27 | public function getX(): float |
|
28 | { |
||
29 | 27 | return $this->x; |
|
30 | } |
||
31 | |||
32 | 27 | public function getY(): float |
|
33 | { |
||
34 | 27 | return $this->y; |
|
35 | } |
||
36 | |||
37 | 27 | public function getValues(): array |
|
40 | } |
||
41 | } |
||
42 |