Свойство | Тип | Описание | |
---|---|---|---|
$_default_config | array | Default config | |
$_redis | Redis | Redis connection | |
$_serialized | array | An internal cache for storing keys of serialized values. |
Метод | Описание | |
---|---|---|
__construct ( ) : void | Class constructor | |
__destruct ( ) : void | Class destructor | |
cache_info ( string $type = NULL ) : array | Get cache driver info | |
clean ( ) : boolean | Clean cache | |
decrement ( string $id, integer $offset = 1 ) : mixed | Decrement a raw value | |
delete ( string $key ) : boolean | Delete from cache | |
get ( string $key ) : mixed | Get cache | |
get_metadata ( string $key ) : array | Get cache metadata | |
increment ( string $id, integer $offset = 1 ) : mixed | Increment a raw value | |
is_supported ( ) : boolean | Check if Redis driver is supported | |
save ( string $id, mixed $data, integer $ttl = 60, boolean $raw = FALSE ) : boolean | Save cache |
public __construct ( ) : void | ||
Результат | void |
public __destruct ( ) : void | ||
Результат | void |
public cache_info ( string $type = NULL ) : array | ||
$type | string | Not supported in Redis. Only included in order to offer a consistent cache API. |
Результат | array |
public get_metadata ( string $key ) : array | ||
$key | string | Cache key |
Результат | array |
public is_supported ( ) : boolean | ||
Результат | boolean |
protected static array $_default_config | ||
Результат | array |
protected array $_serialized | ||
Результат | array |