示例#1
0
 /**
  * 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);
 }
示例#2
0
 protected function build($service)
 {
     parent::build($service);
 }