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