IteratorAggregate
PHP Manual

IteratorAggregate::getIterator

(PHP 5 >= 5.1.0)

IteratorAggregate::getIteratorRetrieve an external iterator

설명

abstract public Traversable IteratorAggregate::getIterator ( void )

Returns an external iterator.

인수

이 함수는 인수가 없습니다.

반환값

An instance of an object implementing Iterator or Traversable

오류/예외

Throws an Exception on failure.


IteratorAggregate
PHP Manual