CacheTrait
Table of Contents
Properties
- $maxKeyLength : mixed
Methods
- getCachedValue() : mixed
- Gets the cached value if it is present in the cache when that is available.
- getFullCacheKey() : mixed
- setCachedValue() : mixed
- Saves the value in the cache when that is available.
Properties
$maxKeyLength
private
mixed
$maxKeyLength
= 64
Methods
getCachedValue()
Gets the cached value if it is present in the cache when that is available.
private
getCachedValue(mixed $k) : mixed
Parameters
- $k : mixed
getFullCacheKey()
private
getFullCacheKey(mixed $key) : mixed
Parameters
- $key : mixed
setCachedValue()
Saves the value in the cache when that is available.
private
setCachedValue(mixed $k, mixed $v) : mixed
Parameters
- $k : mixed
- $v : mixed