W3cubDocs

/Laravel 5.8

Connector

interface Connector (View source)

Methods

Connection connect(array $config, array $options)

Create a connection to a Redis cluster.

Connection 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

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.8/Illuminate/Contracts/Redis/Connector.html