MultipleIterator::attachIterator

Attaches iterator information

&reftitle.description; public `void` `MultipleIterator::attachIterator` `Iterator` `iterator` `string` `infos`

Attaches iterator information.

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

`iterator`

- The new iterator to attach.

`infos`

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

&reftitle.returnvalues;

Description...

&reftitle.errors;

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

&reftitle.seealso;

- `MultipleIterator::__construct`