| 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 | 26 | public function __construct(float $x, float $y, array $values) |
|
| 21 | { |
||
| 22 | 26 | $this->x = $x; |
|
| 23 | 26 | $this->y = $y; |
|
| 24 | 26 | $this->values = $values; |
|
| 25 | 26 | } |
|
| 26 | |||
| 27 | 26 | public function getX(): float |
|
| 28 | { |
||
| 29 | 26 | return $this->x; |
|
| 30 | } |
||
| 31 | |||
| 32 | 26 | public function getY(): float |
|
| 33 | { |
||
| 34 | 26 | return $this->y; |
|
| 35 | } |
||
| 36 | |||
| 37 | 26 | public function getValues(): array |
|
| 40 | } |
||
| 41 | } |
||
| 42 |