MultipleIterator::attachIterator

Attaches iterator information

&reftitle.description; public `void` `MultipleIterator::attachIterator` `Iterator` `iterator` ``string``int``null```info`&null;

Attaches iterator information.

&warn.undocumented.func;
&reftitle.parameters;

`iterator`

- The new iterator to attach.

`info`

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

&reftitle.returnvalues;

Description...

&reftitle.errors;

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

&reftitle.seealso;

- `MultipleIterator::__construct`