public function processResponse(\Buzz\Message\Response $response = null, $asJson = true) { if (!empty($response)) { $this->response = $response; } return $this->processResponseBody($this->response->getContent(), $asJson); }