Total Complexity | 6 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
7 | abstract class GeometryObject |
||
8 | { |
||
9 | protected ?string $title = null; |
||
10 | protected ?string $featureClass = null; |
||
11 | protected ?array $properties = null; |
||
12 | |||
13 | 1 | public function setTitle(?string $title): self |
|
14 | { |
||
15 | 1 | $this->title = $title; |
|
16 | |||
17 | 1 | return $this; |
|
18 | } |
||
19 | |||
20 | 1 | public function getTitle(): ?string |
|
23 | } |
||
24 | |||
25 | 1 | public function setFeatureClass(string $featureClass): self |
|
26 | { |
||
27 | 1 | $this->featureClass = $featureClass; |
|
28 | |||
29 | 1 | return $this; |
|
30 | } |
||
31 | |||
32 | 1 | public function getFeatureClass(): ?string |
|
35 | } |
||
36 | |||
37 | 1 | public function getProperties(): ?array |
|
38 | { |
||
39 | 1 | return $this->properties; |
|
40 | } |
||
41 | |||
42 | 1 | public function setProperties(array $properties): self |
|
47 | } |
||
48 | |||
51 |