class CommandFailed (View source)

Properties

string $command

The Redis command that failed.

array $parameters

The array of command parameters.

Throwable $exception

The exception that was thrown.

Connection $connection

The Redis connection instance.

string $connectionName

The Redis connection name.

Methods

__construct(string $command, array $parameters, Throwable $exception, Connection $connection)

Create a new event instance.

Details

__construct(string $command, array $parameters, Throwable $exception, Connection $connection)

Create a new event instance.

Parameters

string $command
array $parameters
Throwable $exception
Connection $connection