class PredisConnector implements Connector (View source)

Methods

connect(array $config, array $options)

Create a new connection.

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

Create a new clustered Predis connection.

array
formatHost(array $config)

Format the host using the scheme if available.

Details

Connection connect(array $config, array $options)

Create a new 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

protected array formatHost(array $config)

Format the host using the scheme if available.

Parameters

array $config

Return Value

array

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.