src/Rate.php
private function formatResponse(SimpleXMLElement $response)
    {
        // We don't need to return data regarding the response to the user
        unset($response->Response);

        $result = $this->convertXmlObject($response);

        return new RateResponse($result);
    }
private function formatResponse(SimpleXMLElement $response)
    {
        // We don't need to return data regarding the response to the user
        unset($response->Response);

        $result = $this->convertXmlObject($response);

        return new RateResponse($result);
    }
private function formatResponse ( SimpleXMLElement $ response ) { // We don't need to return data regarding the response to the user unset ( $ response -> Response ) ; $ result = $ this -> convertXmlObject ( $ response ) ; return new RateResponse ( $ result ) ; }
Format the response.

@param SimpleXMLElement $response

@return RateResponse
Format the response .