| 1 | <?php |
||
| 7 | class Coordinates implements ApiParameters |
||
| 8 | { |
||
| 9 | /** @var float */ |
||
| 10 | private $lat; |
||
| 11 | |||
| 12 | /** @var float */ |
||
| 13 | private $long; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Coordinates constructor. |
||
| 17 | * |
||
| 18 | * @param float $lat |
||
| 19 | * @param float $long |
||
| 20 | */ |
||
| 21 | public function __construct($lat, $long) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return array |
||
| 29 | */ |
||
| 30 | public function toArray() |
||
| 37 | } |
||
| 38 |