Property | Type | Description | |
---|---|---|---|
$prefix | |||
$redis | Redis |
Method | Description | |
---|---|---|
__construct ( string $host = '127.0.0.1', integer $port = 6379, integer $database, string $prefix = 'simple-fork' ) | ||
__destruct ( ) | close redis connection | |
close ( ) | close the connection | |
delete ( $key ) : boolean | delete var | |
get ( $key, null $default = null ) : boolean | string | null | get var | |
has ( $key ) : boolean | has var ? | |
set ( $key, null $value ) : boolean | set var |