protected function parseXMLFromResponse()
    {
        $xml = $this->response->getBody()->getContents();
        $parse = simplexml_load_string(str_replace([
            'soap:', 'ns2:',
        ], null, $xml));

        $this->parsedXML = json_decode(json_encode($parse->Body), true);

        return $this;
    }
protected function parseXMLFromResponse()
    {
        $xml = $this->response->getBody()->getContents();
        $parse = simplexml_load_string(str_replace([
            'soap:', 'ns2:',
        ], null, $xml));

        $this->parsedXML = json_decode(json_encode($parse->Body), true);

        return $this;
    }
protected function parseXMLFromResponse ( ) { $ xml = $ this -> response -> getBody ( ) -> getContents ( ) ; $ parse = simplexml_load_string ( str_replace ( [ 'soap:' , 'ns2:' , ] , null , $ xml ) ) ; $ this -> parsedXML = json_decode ( json_encode ( $ parse -> Body ) , true ) ; return $ this ; }
Formata o XML do corpo da resposta.

@return self
Formata o XML do corpo da resposta .