class Illuminate / Redis / Connectors / PredisConnector

PredisConnector

Implements

Methods

public

connect ( array $config , array $options ) : PredisConnection

Create a new connection.

Parameters

  • $config array
  • $options array
public

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

Create a new clustered Predis connection.

Parameters

  • $config array
  • $clusterOptions array
  • $options array