class Illuminate / Redis / Connections / PredisConnection

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
protected

parseParametersForEvent ( array $parameters ) : array

Parse the command's parameters for event dispatching.

Parameters

  • $parameters array