Method |
Description |
|
__call ( sting $cmd, array $args ) : void |
Magic __call
Example:
$redis->lpush('mylist', microtime(true)); |
|
__construct ( $fd, $pool = null ) |
|
|
__get ( string $name ) : array |
Get associative result |
|
arrayToHash ( array $array ) : array |
Converts array into hash |
|
autoscan ( string $cmd, array $args = [], cllable $cbEnd = null, integer $limit = null ) : AutoScan |
Wrapper for scans commands |
|
command ( string $name, array $args, callable $cb = null ) : void |
|
|
current ( ) |
|
|
getLocalSubscribersCount ( string $chan ) : integer |
|
|
key ( ) |
|
|
lock ( string $key, integer $timeout ) : Lock |
|
|
meval ( callable $cb = null ) : MultiEval |
Easy wrapper for queue of eval's |
|
next ( ) |
|
|
onFinish ( ) : void |
Called when connection finishes |
|
onReady ( ) : void |
Called when the connection is handshaked (at low-level), and peer is ready to recv. data |
|
pushValue ( mixed $val ) : void |
|
|
rewind ( ) |
|
|
sendCommand ( string $name, array $args, callable $cb = null ) : void |
|
|
valid ( ) |
|
|