1 | <?php |
||
4 | class GeoData extends GeoDataAbstract implements GeoDataInterface, GeoDataProviderInterface |
||
5 | { |
||
6 | |||
7 | |||
8 | /** |
||
9 | * @param float $latitude |
||
10 | * @param float $longitude |
||
11 | */ |
||
12 | 4 | public function __construct( ?float $latitude = null, ?float $longitude = null) |
|
17 | |||
18 | |||
19 | public function setLatitude( ?float $latitude = null) : self |
||
24 | |||
25 | |||
26 | public function setLongitude( ?float $longitude = null) : self |
||
31 | |||
32 | |||
33 | /** |
||
34 | * @inheritDoc |
||
35 | * @return self |
||
36 | */ |
||
37 | 4 | public function getGeoData() : ?GeoDataInterface |
|
41 | |||
42 | } |
||
43 |