Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class GeometryCollection |
||
9 | { |
||
10 | /** @var GeometryObject[] */ |
||
11 | protected array $geometryObjects = []; |
||
12 | |||
13 | 1 | public function addGeometryObject(GeometryObject $geometryObject): self |
|
14 | { |
||
15 | 1 | $this->geometryObjects[] = $geometryObject; |
|
16 | |||
17 | 1 | return $this; |
|
18 | } |
||
19 | |||
20 | /** |
||
21 | * @return GeometryObject[] |
||
22 | */ |
||
23 | 1 | public function getGeometryObjects(): array |
|
26 | } |
||
27 | } |
||
28 |