메소드 |
설명 |
|
__construct ( SystemPreferencesService $systemPreferences ) |
Initialize cache driver (based on system preferences settings, default is array) |
|
clearNamespace ( $namespace ) |
|
|
contains ( string | array $id ) : boolean |
Check if cache have provided key |
|
delete ( string | array $id ) : boolean |
Delete key from cache |
|
fetch ( string | array $id ) : mixed |
Fetch data from cache |
|
getAvailableCacheEngines ( ) : array |
Get array of avaiable cache drivers (based on system configurations) |
|
getCacheDriver ( ) : CacheProvider |
Get cache driver instance |
|
getCacheKey ( $id, $namespace = null ) |
|
|
getNamespace ( $namespace ) |
|
|
save ( string | array $id, mixed $data, integer $lifeTime = 1400 ) : boolean |
Save new value in cache |
|