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
CookieCollection
offsetGet
yii\web\CookieCollection::offsetGet PHP Method
CookieCollection Class Documentation
Datei anzeigen
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
$cookie = $collection[$name];
. This is equivalent to
CookieCollection::get
.
public
offsetGet
(
string
$name
) :
Cookie
$name
string
the cookie name
return
Cookie
the cookie with the specified name, null if the named cookie does not exist.
public function offsetGet($name) { return $this->get($name); }
CookieCollection
__construct
add
count
fromArray
get
getCount
getIterator
getValue
has
offsetExists
offsetGet
offsetSet
offsetUnset
remove
removeAll
toArray