| 1 | <?php namespace Arcanedev\GeoLocation\Google\Elevation; |
||
| 11 | class ElevationResponse extends AbstractResponse |
||
| 12 | { |
||
| 13 | /* ----------------------------------------------------------------- |
||
| 14 | | Properties |
||
| 15 | | ----------------------------------------------------------------- |
||
| 16 | */ |
||
| 17 | |||
| 18 | /** |
||
| 19 | * The elevations collection. |
||
| 20 | * |
||
| 21 | * @var \Arcanedev\GeoLocation\Google\Elevation\Entities\ElevationCollection |
||
| 22 | */ |
||
| 23 | protected $elevations; |
||
| 24 | |||
| 25 | /* ----------------------------------------------------------------- |
||
| 26 | | Getters & Setters |
||
| 27 | | ----------------------------------------------------------------- |
||
| 28 | */ |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Get the elevations collection. |
||
| 32 | * |
||
| 33 | * @return \Arcanedev\GeoLocation\Google\Elevation\Entities\ElevationCollection |
||
| 34 | */ |
||
| 35 | 9 | public function elevations() |
|
| 45 | |||
| 46 | /* ----------------------------------------------------------------- |
||
| 47 | | Main Methods |
||
| 48 | | ----------------------------------------------------------------- |
||
| 49 | */ |
||
| 50 | |||
| 51 | /** |
||
| 52 | * Get the instance as an array. |
||
| 53 | * |
||
| 54 | * @return array |
||
| 55 | */ |
||
| 56 | 3 | public function toArray() |
|
| 60 | } |
||
| 61 |