The RecursiveIterator interface

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

简介

Classes implementing RecursiveIterator can be used to iterate over iterators recursively.

接口摘要

interface RecursiveIterator extends Iterator {
/* 方法 */
public function getChildren(): ?RecursiveIterator
public function hasChildren(): bool
/* 继承的方法 */
public function Iterator::current(): mixed
public function Iterator::key(): mixed
public function Iterator::next(): void
public function Iterator::rewind(): void
public function Iterator::valid(): bool
}

目录

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top