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 | /** |
||
25 | * @inheritDoc |
||
26 | */ |
||
27 | 6 | public function getLatitude() : ?float |
|
31 | |||
32 | /** |
||
33 | * @inheritDoc |
||
34 | */ |
||
35 | 6 | public function getLongitude() : ?float |
|
39 | |||
40 | |||
41 | /** |
||
42 | * @inheritDoc |
||
43 | */ |
||
44 | 6 | public function getLatLon() : array |
|
51 | |||
52 | |||
53 | /** |
||
54 | * @inheritDoc |
||
55 | */ |
||
56 | 2 | public function getSource() : ?string |
|
60 | |||
61 | } |
||
62 |