Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
yii
web
HeaderCollection
getIterator
yii\web\HeaderCollection::getIterator PHP Method
HeaderCollection Class Documentation
Datei anzeigen
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 headers in the collection.
public function getIterator() { return new ArrayIterator($this->_headers); }
HeaderCollection
add
count
fromArray
get
getCount
getIterator
has
offsetExists
offsetGet
offsetSet
offsetUnset
remove
removeAll
set
setDefault
toArray