Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
yii
web
CookieCollection
getIterator
yii\web\CookieCollection::getIterator PHP Method
CookieCollection Class Documentation
ファイルを表示
Open project: yiisoft/yii2
getIterator()
public
method
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
return
ArrayIterator
an iterator for traversing the cookies in the collection.
public function getIterator() { return new ArrayIterator($this->_cookies); }
CookieCollection
__construct
add
count
fromArray
get
getCount
getIterator
getValue
has
offsetExists
offsetGet
offsetSet
offsetUnset
remove
removeAll
toArray