public getAdapter ( ) : Zend_Http_Client_Adapter_Interface | ||
return | Zend_Http_Client_Adapter_Interface | $adapter |
public function getAdapter()
{
if (null === $this->adapter) {
$this->setAdapter($this->config['adapter']);
}
return $this->adapter;
}
public function processException(Exception $exception) { if ($exception instanceof Zend_Exception) { $this->_httpClient->getAdapter()->close(); } parent::processException($exception); }