final class Event

Relay event class.

Constants

INVALIDATED

The integer representing the INVALIDATED event.

Invalidated

The integer representing the INVALIDATED event.

FLUSHED

The integer representing the FLUSHED event.

Flushed

The integer representing the FLUSHED event.

Properties

int $type

The type of the event represented by an integer.

mixed $key

The event key. Only filled for INVALIDATED events.

bool $client

Whether the invalidation was created in the client or originated from a Redis PUSH message.