MultipleIterator::detachIterator

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

MultipleIterator::detachIterator — Detaches an iterator

Description

public function MultipleIterator::detachIterator(Iterator $iterator): void

Detaches an iterator, together with its associated information. Nothing happens if iterator is not attached.

Parameters

iterator

The iterator to detach.

Return Values

No value is returned.

See Also