PHP Interface Predis\ClientContextInterface

Author: Daniele Alessandri ([email protected])
Datei anzeigen Open project: tillkruss/redis-object-cache

Public Methods

Method Description
__call ( string $method, array $arguments ) : mixed Sends the specified command with its arguments to Redis.
execute ( mixed $callable = null ) : array Starts the execution of the context.
executeCommand ( Predis\Command\CommandInterface $command ) : mixed Sends the specified command instance to Redis.

Method Details

__call() public method

Sends the specified command with its arguments to Redis.
public __call ( string $method, array $arguments ) : mixed
$method string Command ID.
$arguments array Arguments for the command.
return mixed

execute() public method

Starts the execution of the context.
public execute ( mixed $callable = null ) : array
$callable mixed Optional callback for execution.
return array

executeCommand() public method

Sends the specified command instance to Redis.
public executeCommand ( Predis\Command\CommandInterface $command ) : mixed
$command Predis\Command\CommandInterface Command instance.
return mixed