class Illuminate / Redis / Connections / PredisConnection
You are viewing an older version of the documentation. For the latest, please visit master documentation.

PredisConnection

Extends

Implements

Properties

protected

$client Predis\Client

The Predis client.

Default: null

Methods

public

__construct ( $client ) : void

Create a new Predis connection.

Parameters

  • $client Predis\Client
public

createSubscription ( $channels , Closure $callback , $method ) : void

Subscribe to a set of given channels for messages.

Parameters

  • $channels array|string
  • $callback Closure
  • $method string