/** * Set URI to REST client * * @param string $uri * @return Dhl_Account_Model_Http_Adapter * @throws Dhl_Account_Exception */ public function setUri($uri) { parent::setUri($uri); try { $this->getClient()->setUri($this->uri); } catch (Zend_Http_Client_Exception $e) { throw new Dhl_Account_Exception($e->getMessage(), $e->getCode()); } return $this; }
/** * Set URI to REST client * * @param string $uri * @return Dhl_Account_Model_Rest_Adapter */ public function setUri($uri) { parent::setUri($uri); $this->client->setUri($this->uri); return $this; }