/** * Reset the class state to its default */ public function reset() { $this->restClient->reset(); $this->restClient->setUrl($this->getURL()); $this->restClient->addParam('key', $this->getConfig('key')); $this->params = array(); $this->result = array(); $this->vistaMethod = ''; $this->requestMethod = 'get'; }