public function getXML($url, $query = [])
    {
        $responseBody = $this->get($url, $query, 'application/xml');

        return new QuiteSimpleXMLElement($responseBody);
    }
public function getXML($url, $query = [])
    {
        $responseBody = $this->get($url, $query, 'application/xml');

        return new QuiteSimpleXMLElement($responseBody);
    }
public function getXML ( $ url , $ query = [ ] ) { $ responseBody = $ this -> get ( $ url , $ query , 'application/xml' ) ; return new QuiteSimpleXMLElement ( $ responseBody ) ; }
Make a GET request, accepting XML.

@param string $url
@param array  $query

@return QuiteSimpleXMLElement
Make a GET request accepting XML .