| 1 | <?php |
||
| 9 | class GeographicCoordinates implements UriParameterInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var \Marek\OpenWeatherMap\API\Value\Parameter\Input\Latitude |
||
| 13 | */ |
||
| 14 | protected $latitude; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var \Marek\OpenWeatherMap\API\Value\Parameter\Input\Longitude |
||
| 18 | */ |
||
| 19 | protected $longitude; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * GeographicCoordinates constructor. |
||
| 23 | * |
||
| 24 | * @param \Marek\OpenWeatherMap\API\Value\Parameter\Input\Latitude $latitude |
||
| 25 | * @param \Marek\OpenWeatherMap\API\Value\Parameter\Input\Longitude $longitude |
||
| 26 | */ |
||
| 27 | public function __construct(Latitude $latitude, Longitude $longitude) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return \Marek\OpenWeatherMap\API\Value\Parameter\Input\Latitude |
||
| 35 | */ |
||
| 36 | public function getLatitude(): Latitude |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return \Marek\OpenWeatherMap\API\Value\Parameter\Input\Longitude |
||
| 43 | */ |
||
| 44 | public function getLongitude(): Longitude |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return string |
||
| 51 | */ |
||
| 52 | public function getUriParameterValue(): string |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @return string |
||
| 61 | */ |
||
| 62 | public function getUriParameterName(): string |
||
| 66 | } |
||
| 67 |