interface Factory (View source)

Methods

connection(string|null $name = null)

Get a Redis connection by name.

Details

Connection connection(string|null $name = null)

Get a Redis connection by name.

Parameters

string|null $name

Return Value

Connection