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