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); }