PHP Class Predis\Configuration\Option\Replication

Author: Daniele Alessandri ([email protected])
Inheritance: extends Aggregate
Show file Open project: nrk/predis

Public Methods

Method Description
filter ( Predis\Configuration\OptionsInterface $options, $value )
getDefault ( Predis\Configuration\OptionsInterface $options )

Protected Methods

Method Description
getConnectionInitializerByDescription ( Predis\Configuration\OptionsInterface $options, string $description ) : callable Returns a connection initializer from a descriptive name.

Method Details

filter() public method

public filter ( Predis\Configuration\OptionsInterface $options, $value )
$options Predis\Configuration\OptionsInterface

getConnectionInitializerByDescription() protected method

Returns a connection initializer from a descriptive name.
protected getConnectionInitializerByDescription ( Predis\Configuration\OptionsInterface $options, string $description ) : callable
$options Predis\Configuration\OptionsInterface Client options.
$description string Identifier of a replication backend (`predis`, `sentinel`)
return callable

getDefault() public method

public getDefault ( Predis\Configuration\OptionsInterface $options )
$options Predis\Configuration\OptionsInterface