Property | Type | Description | |
---|---|---|---|
$listeners | Listeners |
Property | Type | Description | |
---|---|---|---|
$cachedParams | |||
$pool | |||
$stack |
Method | Description | |
---|---|---|
__construct ( callable $cb, |
Constructor | |
__invoke ( $args ) : void | Adds eval command or calls execute() method | |
add ( string $cmd, mixed $keys = null, mixed $argv = null ) | Adds eval command in stack | |
addListener ( callable $cb ) | Adds listener | |
cleanup ( ) | Clean up | |
execute ( ) | Runs the stack of commands | |
getParams ( ) : array | Return params for eval command |
public __construct ( callable $cb, |
||
$cb | callable | Callback |
$pool | Redis pool |