protected function response(Response $response)
    {
        return $this->response->create(
            (string)$response->getContent(),
            $response->getStatusCode(),
            (array)$response->headers->all()
        );
    }
protected function response(Response $response)
    {
        return $this->response->create(
            (string)$response->getContent(),
            $response->getStatusCode(),
            (array)$response->headers->all()
        );
    }
protected function response ( Response $ response ) { return $ this -> response -> create ( ( string ) $ response -> getContent ( ) , $ response -> getStatusCode ( ) , ( array ) $ response -> headers -> all ( ) ) ; }
Create response message

@param Response $response
@return Data
Create response message