CacheInterface
interface CacheInterface
Methods
bool
contains(string $key)
Check if a key exists in the cache.
mixed
get(string $key)
Get a key from the cache.
set(string $key, mixed $data)
Set a key in the cache.
delete(string $key)
Delete a key from the cache.
flush()
Flush the cache.
Details
at line 14
bool
contains(string $key)
Check if a key exists in the cache.
at line 23
mixed
get(string $key)
Get a key from the cache.
at line 31
set(string $key, mixed $data)
Set a key in the cache.
at line 38
delete(string $key)
Delete a key from the cache.
at line 43
flush()
Flush the cache.