프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |