ClientContextInterface
in
Interface defining a client-side context such as a pipeline or transaction.
Tags
Table of Contents
- __call() : mixed
- Sends the specified command with its arguments to Redis.
- execute() : array<string|int, mixed>
- Starts the execution of the context.
- executeCommand() : mixed
- Sends the specified command instance to Redis.
Methods
__call()
Sends the specified command with its arguments to Redis.
public
__call(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : string
-
Command ID.
- $arguments : array<string|int, mixed>
-
Arguments for the command.
Return values
mixed —execute()
Starts the execution of the context.
public
execute([mixed $callable = null ]) : array<string|int, mixed>
Parameters
- $callable : mixed = null
-
Optional callback for execution.
Return values
array<string|int, mixed> —executeCommand()
Sends the specified command instance to Redis.
public
executeCommand(CommandInterface $command) : mixed
Parameters
- $command : CommandInterface
-
Command instance.