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
CacheComponentInterface
has
Mongolid\Util\CacheComponentInterface::has PHP Method
CacheComponentInterface Interface Documentation
Show file
Open project: leroy-merlin-br/mongolid
has()
public
method
Determine if an item exists in the cache. This method will also check if the ttl of the given cache key has been expired and will free the memory if so.
public
has
(
string
$key
) :
boolean
$key
string
Cache key of the item.
return
boolean
Has cache key.
public function has(string $key) : bool;
CacheComponentInterface
get
has
put