1 | <?php |
||
7 | class location |
||
8 | { |
||
9 | |||
10 | /** |
||
11 | * Latitude of location. |
||
12 | * @var float |
||
13 | */ |
||
14 | public $lat; |
||
15 | |||
16 | /** |
||
17 | * Longitude of location. |
||
18 | * @var float |
||
19 | */ |
||
20 | public $lng; |
||
21 | |||
22 | /** |
||
23 | * Creates location object. |
||
24 | * @param float $lat Latitude of location. |
||
25 | * @param float $lng Longitude of location. |
||
26 | */ |
||
27 | 1 | public function __construct(float $lat = null, float $lng = null) |
|
32 | } |
||
33 |