Свойство | Тип | Описание | |
---|---|---|---|
$client | |||
$version | string | null |
Метод | Описание | |
---|---|---|
__construct ( |
||
add ( $key, $value, $expire ) | ||
cas ( $token, $key, $value, $expire ) | ||
decrement ( $key, $offset = 1, $initial, $expire ) | ||
delete ( $key ) | ||
deleteMulti ( array $keys ) | ||
flush ( ) | ||
get ( $key, &$token = null ) | ||
getMulti ( array $keys, array &$tokens = null ) | ||
increment ( $key, $offset = 1, $initial, $expire ) | ||
replace ( $key, $value, $expire ) | ||
set ( $key, $value, $expire ) | ||
setMulti ( array $items, $expire ) | ||
touch ( $key, $expire ) |
Метод | Описание | |
---|---|---|
doIncrement ( string $key, integer $offset, integer $initial, integer $expire ) : integer | boolean | Shared between increment/decrement: both have mostly the same logic (decrement just increments a negative value), but need their validation & use of non-ttl native methods split up. | |
getVersion ( ) : string | Returns the version of the Redis server we're connecting to. | |
supportsOptionsArray ( ) : boolean | Version-based check to test if passing an options array to set() is supported. | |
ttl ( integer $expire ) : integer | null | Redis expects true TTL, not expiration timestamp. |
protected getVersion ( ) : string | ||
Результат | string |
protected supportsOptionsArray ( ) : boolean | ||
Результат | boolean |
protected Redis,MatthiasMullie\Scrapbook\Adapters $client | ||
Результат |