MultipleIterator::attachIterator

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

MultipleIterator::attachIteratorAttaches iterator information

Description

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

Attaches iterator information.

Warning

This function is currently not documented; only its argument list is available.

Parameters

iterator

The new iterator to attach.

info

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

Return Values

Description...

Errors/Exceptions

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

See Also

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top