W3cubDocs

/Laravel 8

PredisConnector

class PredisConnector implements Connector (View source)

Methods

Connection connect(array $config, array $options)

Create a new clustered Predis connection.

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

Create a new clustered Predis connection.

Details

Connection connect(array $config, array $options)

Create a new clustered Predis connection.

Parameters

array $config
array $options

Return Value

Connection

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

Create a new clustered Predis connection.

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/8.x/Illuminate/Redis/Connectors/PredisConnector.html