PHP Class Predis\Configuration\ClusterOption

Author: Daniele Alessandri ([email protected])
Inheritance: implements Predis\Configuration\OptionInterface
显示文件 Open project: tillkruss/redis-object-cache Class Usage Examples

Public Methods

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

Protected Methods

Method Description
createByDescription ( Predis\Configuration\OptionsInterface $options, string $id ) : Predis\Connection\Aggregate\ClusterInterface | null Creates a new cluster connection from on a known descriptive name.

Method Details

createByDescription() protected method

Creates a new cluster connection from on a known descriptive name.
protected createByDescription ( Predis\Configuration\OptionsInterface $options, string $id ) : Predis\Connection\Aggregate\ClusterInterface | null
$options Predis\Configuration\OptionsInterface Instance of the client options.
$id string Descriptive identifier of the cluster type (`predis`, `redis-cluster`)
return Predis\Connection\Aggregate\ClusterInterface | null

filter() public method

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

getDefault() public method

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