interface Connector (View source)

Methods

connect(array $config, array $options)

Create a connection to a Redis cluster.

connectToCluster(array $config, array $clusterOptions, array $options)

Create a connection to a Redis instance.

Details

Connection connect(array $config, array $options)

Create a connection to a Redis cluster.

Parameters

array $config
array $options

Return Value

Connection

Connection connectToCluster(array $config, array $clusterOptions, array $options)

Create a connection to a Redis instance.

Parameters

array $config
array $clusterOptions
array $options

Return Value

Connection