1 | <?php |
||
4 | class GeoData extends GeoDataAbstract implements GeoDataInterface, GeoDataProviderInterface |
||
5 | { |
||
6 | |||
7 | |||
8 | /** |
||
9 | * @param float $latitude |
||
10 | * @param float $longitude |
||
11 | */ |
||
12 | 6 | public function __construct( ?float $latitude = null, ?float $longitude = null, ?string $source = null) |
|
18 | |||
19 | |||
20 | 6 | public function setLatitude( ?float $latitude = null) : self |
|
25 | |||
26 | |||
27 | 6 | public function setLongitude( ?float $longitude = null) : self |
|
32 | |||
33 | |||
34 | 6 | public function setSource( ?string $source = null) : self |
|
39 | |||
40 | |||
41 | /** |
||
42 | * @inheritDoc |
||
43 | * @return self |
||
44 | */ |
||
45 | 4 | public function getGeoData() : ?GeoDataInterface |
|
49 | |||
50 | |||
51 | |||
52 | } |
||
53 |