protected function _getHttpClient() { if ($this->_httpClient === null) { throw new Exception('call setHttpClient() before ' . __METHOD__); } return $this->_httpClient; }