PHP Class Predis\Configuration\Option\Aggregate

Author: Daniele Alessandri ([email protected])
Inheritance: implements Predis\Configuration\OptionInterface
显示文件 Open project: nrk/predis

Public Methods

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

Protected Methods

Method Description
getConnectionInitializer ( Predis\Configuration\OptionsInterface $options, mixed $callable ) : Closure Wraps a callable to ensure that the returned value is a valid connection.

Method Details

filter() public method

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

getConnectionInitializer() protected method

Wraps a callable to ensure that the returned value is a valid connection.
protected getConnectionInitializer ( Predis\Configuration\OptionsInterface $options, mixed $callable ) : Closure
$options Predis\Configuration\OptionsInterface Client options.
$callable mixed Callable initializer.
return Closure

getDefault() public method

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