Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Mongolid
Util
CacheComponent
get
Mongolid\Util\CacheComponent::get PHP Method
CacheComponent Class Documentation
Show file
Open project: leroy-merlin-br/mongolid
get()
public
method
Retrieve an item from the cache by key.
public
get
(
string
$key
) :
mixed
$key
string
Cache key of the item to be retrieved.
return
mixed
public function get(string $key) { if ($this->has($key)) { return $this->storage[$key]; } }
CacheComponent
get
has
put
time