Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
yii
web
HeaderCollection
offsetGet
yii\web\HeaderCollection::offsetGet PHP Method
HeaderCollection Class Documentation
Exibir arquivo
Open project: yiisoft/yii2
offsetGet()
public
method
This method is required by the SPL interface [[\ArrayAccess]]. It is implicitly called when you use something like
$header = $collection[$name];
. This is equivalent to
HeaderCollection::get
.
public
offsetGet
(
string
$name
) :
string
$name
string
the header name
return
string
the header value with the specified name, null if the named header does not exist.
public function offsetGet($name) { return $this->get($name); }
HeaderCollection
add
count
fromArray
get
getCount
getIterator
has
offsetExists
offsetGet
offsetSet
offsetUnset
remove
removeAll
set
setDefault
toArray