MultipleIterator::attachIterator

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

MultipleIterator::attachIteratorAttaches iterator information

说明

public MultipleIterator::attachIterator ( Iterator $iterator , string $infos = ? ) : void

Attaches iterator information.

警告

本函数还未编写文档,仅有参数列表。

参数

iterator

The new iterator to attach.

infos

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 infos is already associated information.

参见