src/Abstracts/AbstractDefaultHandler.php
public function xmlToArray( $string )
    {

        $doc = new DOMDocument();
        $doc->loadXML( $string );
        $root = $doc->documentElement;

        return $this->DomNodeToArray( $root );
    }
public function xmlToArray( $string )
    {

        $doc = new DOMDocument();
        $doc->loadXML( $string );
        $root = $doc->documentElement;

        return $this->DomNodeToArray( $root );
    }
public function xmlToArray ( $ string ) { $ doc = new DOMDocument ( ) ; $ doc -> loadXML ( $ string ) ; $ root = $ doc -> documentElement ; return $ this -> DomNodeToArray ( $ root ) ; }
convert XML response to array

@param $string

@return mixed
convert XML response to array