| 1 | <?php |
||
| 12 | class GeoClient extends Client |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Return stops around a given address as well as lines that serve those |
||
| 16 | * stops. |
||
| 17 | * |
||
| 18 | * @var string $streetName |
||
| 19 | * @var int $streetNumber |
||
| 20 | * @return \stdClass |
||
| 21 | * @throws \RuntimeException |
||
| 22 | */ |
||
| 23 | 3 | public function getStreet($streetName, $streetNumber) |
|
| 31 | |||
| 32 | /** |
||
| 33 | * Make an arbitrary call to the GEO service. |
||
| 34 | * |
||
| 35 | * @param string $endpoint |
||
| 36 | * @param array $params |
||
| 37 | * @return \stdClass |
||
| 38 | */ |
||
| 39 | 3 | protected function callGeoService($endpoint, array $params = []) |
|
| 44 | } |
||
| 45 |