public function addNodeList(\DOMNodeList $nodes)
    {
        foreach ($nodes as $node) {
            if ($node instanceof \DOMNode) {
                $this->addNode($node);
            }
        }
    }
public function addNodeList(\DOMNodeList $nodes)
    {
        foreach ($nodes as $node) {
            if ($node instanceof \DOMNode) {
                $this->addNode($node);
            }
        }
    }
public function addNodeList ( \ DOMNodeList $ nodes ) { foreach ( $ nodes as $ node ) { if ( $ node instanceof \ DOMNode ) { $ this -> addNode ( $ node ) ; } } }
Adds a \DOMNodeList to the list of nodes.

@param \DOMNodeList $nodes A \DOMNodeList instance
Adds a \ DOMNodeList to the list of nodes .