class CommandExecuted (View source)

Properties

string $command

The Redis command that was executed.

array $parameters

The array of command parameters.

float $time

The number of milliseconds it took to execute the command.

Connection $connection

The Redis connection instance.

string $connectionName

The Redis connection name.

Methods

void
__construct(string $command, array $parameters, float|null $time, Connection $connection)

Create a new event instance.

Details

void __construct(string $command, array $parameters, float|null $time, Connection $connection)

Create a new event instance.

Parameters

string $command
array $parameters
float|null $time
Connection $connection

Return Value

void