IteratorAggregate::getIterator

(PHP 5, PHP 7, PHP 8)

IteratorAggregate::getIterator外部イテレータを取得する

説明

public IteratorAggregate::getIterator(): Traversable

外部イテレータを返します。

パラメータ

この関数にはパラメータはありません。

戻り値

Iterator あるいは Traversable を実装したオブジェクトのインスタンスを返します。

エラー / 例外

失敗した場合は Exception をスローします。

add a note add a note

User Contributed Notes

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