class Redis (View source)

Methods

static Redis
getInstance()

Get the Redis Store instance

mixed
__construct(array $config)

RedisAdapter constructor.

static void
ping(string|null $message = null)

Ping the redis service

mixed
set(string $key, mixed $data, ?int $time = null)

No description

mixed
get(string $key, mixed $default = null)

No description

getClient()

No description

Details

static Redis getInstance()

Get the Redis Store instance

Return Value

Redis

mixed __construct(array $config)

RedisAdapter constructor.

Parameters

array $config

Return Value

mixed

static void ping(string|null $message = null)

Ping the redis service

Parameters

string|null $message

Return Value

void

mixed set(string $key, mixed $data, ?int $time = null)

No description

Parameters

string $key
mixed $data
?int $time

Return Value

mixed

mixed get(string $key, mixed $default = null)

No description

Parameters

string $key
mixed $default

Return Value

mixed

Redis getClient()

No description

Return Value

Redis