| 1 | <?php |
||
| 9 | class Location implements LocationContract |
||
| 10 | { |
||
| 11 | protected $latitude; |
||
| 12 | protected $longitude; |
||
| 13 | |||
| 14 | public function __construct(float $latitude, float $longitude) |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Get latitude. |
||
| 22 | * |
||
| 23 | * @return float |
||
| 24 | */ |
||
| 25 | public function getLatitude(): float |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Get longitude. |
||
| 32 | * |
||
| 33 | * @return float |
||
| 34 | */ |
||
| 35 | public function getLongitude(): float |
||
| 39 | } |
||
| 40 |