Свойство | Тип | Описание | |
---|---|---|---|
$client | object | Redis client. |
Метод | Описание | |
---|---|---|
clear ( ) | ||
exists ( $key ) | ||
get ( $key, $default = null ) | ||
getMultiple ( array $keys, $default = null ) | ||
getMultipleOrFail ( array $keys ) | ||
getOrFail ( $key ) | ||
keys ( ) | ||
remove ( $key ) | ||
set ( $key, $value ) |
Метод | Описание | |
---|---|---|
clientClear ( ) | Call the internal client method to clear all the keys. | |
clientExists ( string $key ) : boolean | Call the internal client method to check if a key exists. | |
clientGet ( string $key ) : mixed | Call the internal client method to fetch a key. | |
clientGetMultiple ( array $keys ) : array | Call the internal client method to fetch multiple keys. | |
clientKeys ( ) : array | Call the internal client method to fetch all the keys. | |
clientNotFoundValue ( ) : mixed | Return the value corresponding to "not found" for the internal client. | |
clientRemove ( string $key ) : boolean | Call the internal client method to remove a key. | |
clientSet ( string $key, mixed $value ) | Call the internal client method to set a value associated to a key. |
abstract protected clientClear ( ) |
abstract protected clientExists ( string $key ) : boolean | ||
$key | string | |
Результат | boolean |
abstract protected clientGetMultiple ( array $keys ) : array | ||
$keys | array | The keys to fetch |
Результат | array | The raw values |
abstract protected clientKeys ( ) : array | ||
Результат | array | The keys |
abstract protected clientNotFoundValue ( ) : mixed | ||
Результат | mixed |
abstract protected clientRemove ( string $key ) : boolean | ||
$key | string | |
Результат | boolean | true if the removal worked, false otherwise |