1 | <?php |
||
4 | abstract class GeoDataAbstract implements GeoDataInterface |
||
5 | { |
||
6 | |||
7 | |||
8 | /** |
||
9 | * @var float |
||
10 | */ |
||
11 | public $latitude; |
||
12 | |||
13 | /** |
||
14 | * @var float |
||
15 | */ |
||
16 | public $longitude; |
||
17 | |||
18 | /** |
||
19 | * @var string|null |
||
20 | */ |
||
21 | public $source; |
||
22 | |||
23 | /** |
||
24 | * @var string|null |
||
25 | */ |
||
26 | public $status; |
||
27 | |||
28 | |||
29 | /** |
||
30 | * @inheritDoc |
||
31 | */ |
||
32 | 6 | public function getLatitude() : ?float |
|
36 | |||
37 | /** |
||
38 | * @inheritDoc |
||
39 | */ |
||
40 | 6 | public function getLongitude() : ?float |
|
44 | |||
45 | |||
46 | /** |
||
47 | * @inheritDoc |
||
48 | */ |
||
49 | 6 | public function getLatLon() : array |
|
56 | |||
57 | |||
58 | /** |
||
59 | * @inheritDoc |
||
60 | */ |
||
61 | 2 | public function getSource() : ?string |
|
65 | |||
66 | |||
67 | /** |
||
68 | * @inheritDoc |
||
69 | */ |
||
70 | 2 | public function getStatus() : ?string |
|
74 | |||
75 | } |
||
76 |