PredisConnector
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.
array
formatRetry(array $config)
Format a scalar retry configuration into a Predis retry instance if applicable.
Details
Connection
connect(array $config, array $options)
Create a new connection.
Connection
connectToCluster(array $config, array $clusterOptions, array $options)
Create a new clustered Predis connection.
protected array
formatHost(array $config)
Format the host using the scheme if available.
protected array
formatRetry(array $config)
Format a scalar retry configuration into a Predis retry instance if applicable.
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.