Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
yii
base
ArrayAccessTrait
getIterator
yii\base\ArrayAccessTrait::getIterator PHP 메소드
ArrayAccessTrait 2 문서
파일 보기
프로젝트 열기: yiisoft/yii2
getIterator()
공개
메소드
This method is required by the SPL interface [[\IteratorAggregate]]. It will be implicitly called when you use
foreach
to traverse the collection.
public
getIterator
( ) :
ArrayIterator
리턴
ArrayIterator
an iterator for traversing the cookies in the collection.
public function getIterator() { return new \ArrayIterator($this->data); }
ArrayAccessTrait
count
getIterator
offsetExists
offsetGet
offsetSet
offsetUnset