You can simplify this to `$console->encodeText($response->getContent() . $responseText)`.