CakeFest 2024: The Official CakePHP Conference

RecursiveIterator インターフェイス

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

はじめに

RecursiveIterator を実装したクラスは、 イテレータ群を再帰的に反復処理するときに使うことができます。

インターフェイス概要

interface RecursiveIterator extends Iterator {
/* メソッド */
public hasChildren(): bool
/* 継承したメソッド */
}

目次

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top