| 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 | /** |
||
| 20 | * @inheritDoc |
||
| 21 | */ |
||
| 22 | 2 | public function getLatitude() : ?float |
|
| 26 | |||
| 27 | /** |
||
| 28 | * @inheritDoc |
||
| 29 | */ |
||
| 30 | 2 | public function getLongitude() : ?float |
|
| 34 | |||
| 35 | |||
| 36 | /** |
||
| 37 | * @inheritDoc |
||
| 38 | */ |
||
| 39 | 2 | public function getLatLon() : array |
|
| 46 | |||
| 47 | } |
||
| 48 |