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