src/Document.php
/**
     * Returns a new NodeIterator object, which represents an iterator over the
     * members of a list of the nodes in a subtree of the DOM.
     *
     * @param \Rowbot\DOM\Node                     $root       The root node of the iterator object.
     * @param int                                  $whatToShow (optional) A bitmask of NodeFilter constants allowing the
     *                                                         user to filter for specific node types.
     * @param \Rowbot\DOM\NodeFilter|callable|null $filter     A user defined function to determine whether or not to
     *                                                         accept a node that has passed the whatToShow check.
     */
Returns a new NodeIterator object, which represents an iterator over the
members of a list of the nodes in a subtree of the DOM.

@param \Rowbot\DOM\Node                     $root       The root node of the iterator object.
@param int                                  $whatToShow (optional) A bitmask of NodeFilter constants allowing the
user to filter for specific node types.
@param \Rowbot\DOM\NodeFilter|callable|null $filter     A user defined function to determine whether or not to
accept a node that has passed the whatToShow check.
Returns a new NodeIterator object which represents an iterator over the members of a list of the nodes in a subtree of the DOM . @param \ Rowbot \ DOM \ Node $root The root node of the iterator object . @param int $whatToShow ( optional ) A bitmask of NodeFilter constants allowing the user to filter for specific node types . @param \ Rowbot \ DOM \ NodeFilter|callable|null $filter A user defined function to determine whether or not to accept a node that has passed the whatToShow check .
public function createNodeIterator(
        Node $root,
        int $whatToShow = NodeFilter::SHOW_ALL,
        $filter = null
    ): NodeIterator {
        $iter = new NodeIterator($root, $whatToShow, $filter);
        self::$nodeIteratorList->attach($iter);
        return $iter;
    }
public function createNodeIterator ( Node $ root , int $ whatToShow = NodeFilter :: SHOW_ALL , $ filter = null ) : NodeIterator { $ iter = new NodeIterator ( $ root , $ whatToShow , $ filter ) ; self :: $ nodeIteratorList -> attach ( $ iter ) ; return $ iter ; }
Returns a new NodeIterator object, which represents an iterator over the
 members of a list of the nodes in a subtree of the DOM.
Returns a new NodeIterator object which represents an iterator over the members of a list of the nodes in a subtree of the DOM .