IteratorAggregate::getIterator
(PHP 5, PHP 7, PHP 8)
IteratorAggregate::getIterator — 获取一个外部迭代器
参数
此函数没有参数。
返回值
实现了 Iterator 或 Traversable 接口的类的一个实例。
错误/异常
失败时抛出 Exception。

User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/iteratoraggregate.getiterator.php