protected function parseResponse($responseInJson) { $this->parse($responseInJson); if ($this->needResultParsing($responseInJson)) { $this->parseResult($responseInJson); } $this->logResponse(); }