Ejemplo n.º 1
0
 /**
  * Just return the data from runRequest().
  *
  * @param type $path
  * @param type $decode
  *
  * @return array
  */
 public function get($path, $decode = true)
 {
     if ($this->useOriginalGetMethod) {
         return parent::get($path, $decode);
     }
     return $this->runRequest($path, 'GET');
 }
Ejemplo n.º 2
0
 /**
  * Perform the client get() method.
  *
  * @param string $path
  *
  * @return array
  */
 protected function get($path, $decode = true)
 {
     return $this->client->get($path, $decode);
 }
Ejemplo n.º 3
0
 /**
  * {@inheritDoc}
  */
 protected function get($path)
 {
     return $this->client->get($path);
 }