Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class LatLong extends \Ballen\Distical\Entities\LatLong |
||
17 | { |
||
18 | |||
19 | /** |
||
20 | * Create a new latitude and longitude object. |
||
21 | * @param double $lat The latitude co-ordinate. |
||
22 | * @param double $lng The longitude co-ordinate. |
||
23 | */ |
||
24 | 28 | public function __construct($lat, $lng) |
|
25 | { |
||
26 | 28 | parent::__construct($lat, $lng); |
|
27 | 28 | } |
|
28 | |||
29 | /** |
||
30 | * Returns a GeoJSON compatible LatLng array in the reversed format. |
||
31 | * @return array |
||
32 | */ |
||
33 | 22 | public function lngLatArray() |
|
36 | } |
||
37 | } |
||
38 |