MultipleIterator::attachIterator

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

MultipleIterator::attachIteratorAttaches iterator information

Опис

public MultipleIterator::attachIterator(Iterator $iterator, string|int|null $info = null): void

Attaches iterator information.

Увага

Наразі ця функція не документована. Доступний лише список її параметрів.

Параметри

iterator

The new iterator to attach.

info

The associative information for the Iterator, which must be an int, a string, or null.

Значення, що повертаються

Description...

Помилки/виключення

An IllegalValueException if the iterator parameter is invalid, or if info is already associated information.

Прогляньте також