class Illuminate / Redis / Connections / PredisConnection
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

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