src/Document.php
/**
     * Prune node iterators for the given document.
     *
     * @internal
     */
Prune node iterators for the given document.
@internal
Prune node iterators for the given document . @internal
public function pruneNodeIterators(): void
    {
        if (!self::$nodeIteratorList) {
            return;
        }
        foreach (self::$nodeIteratorList as $i => $iter) {
            if ($iter->root->nodeDocument === $this) {
                self::$nodeIteratorList->unset($i);
            }
        }
    }
public function pruneNodeIterators ( ) : void { if ( ! self :: $ nodeIteratorList ) { return ; } foreach ( self :: $ nodeIteratorList as $ i => $ iter ) { if ( $ iter -> root -> nodeDocument === $ this ) { self :: $ nodeIteratorList -> unset ( $ i ) ; } } }
Prune node iterators for the given document.
Prune node iterators for the given document .