class RedisConfig

Methods

__construct(Repository $config)

Create a new redis config helper.

array
connectionNames()

Get the configured Redis connection names.

array
connectionConfig(string $name)

Get a single Redis connection config with merged options.

void
enableEvents()

Enable Redis command events.

void
disableEvents()

Disable Redis command events.

Details

at line 21
__construct(Repository $config)

Create a new redis config helper.

Parameters

Repository $config

at line 30
array connectionNames()

Get the configured Redis connection names.

Return Value

array

at line 60
array connectionConfig(string $name)

Get a single Redis connection config with merged options.

Parameters

string $name

Return Value

array

at line 100
void enableEvents()

Enable Redis command events.

Boot-only. The worker-wide override affects every subsequently assembled connection config.

Return Value

void

at line 110
void disableEvents()

Disable Redis command events.

Boot-only. The worker-wide override affects every subsequently assembled connection config.

Return Value

void