/** * Get Web Service Response * @return type */ public function get($needle = false) { // is decodePolyline true? set endpoint to json if ($this->service['decodePolyline']) { $this->setEndpoint('json'); } return $this->service['decodePolyline'] ? $this->decode(parent::get($needle)) : parent::get($needle); }
protected function build($service) { parent::build($service); }