Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
yii
caching
Cache
offsetGet
yii\caching\Cache::offsetGet PHP Method
Cache Class Documentation
Mostra file
Open project: yiisoft/yii2
offsetGet()
public
method
This method is required by the interface [[\ArrayAccess]].
public
offsetGet
(
string
$key
) :
mixed
$key
string
a key identifying the cached value
return
mixed
the value stored in cache, false if the value is not in the cache or expired.
public function offsetGet($key) { return $this->get($key); }
Cache
add
addValue
addValues
buildKey
delete
deleteValue
exists
flush
flushValues
get
getValue
getValues
madd
mget
mset
multiAdd
multiGet
multiSet
offsetExists
offsetGet
offsetSet
offsetUnset
set
setValue
setValues