src/XmlParser.php
protected function parserXml($xmlString)
    {
        libxml_disable_entity_loader(true);
        return json_decode(json_encode(simplexml_load_string($xmlString,'SimpleXMLElement', LIBXML_NOCDATA), true), true);
    }
protected function parserXml($xmlString)
    {
        libxml_disable_entity_loader(true);
        return json_decode(json_encode(simplexml_load_string($xmlString,'SimpleXMLElement', LIBXML_NOCDATA), true), true);
    }
protected function parserXml ( $ xmlString ) { libxml_disable_entity_loader ( true ) ; return json_decode ( json_encode ( simplexml_load_string ( $ xmlString , 'SimpleXMLElement' , LIBXML_NOCDATA ) , true ) , true ) ; }
parse xml to array

@param $xmlString
@return array
parse xml to array