PHP Class Predis\Configuration\Option\CRC16

Author: Daniele Alessandri ([email protected])
Inheritance: implements Predis\Configuration\OptionInterface
Mostrar archivo Open project: nrk/predis

Public Methods

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

Protected Methods

Method Description
getHashGeneratorByDescription ( Predis\Configuration\OptionsInterface $options, string $description ) : callable Returns an hash generator instance from a descriptive name.

Method Details

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

getHashGeneratorByDescription() protected method

Returns an hash generator instance from a descriptive name.
protected getHashGeneratorByDescription ( Predis\Configuration\OptionsInterface $options, string $description ) : callable
$options Predis\Configuration\OptionsInterface Client options.
$description string Identifier of a hash generator (`predis`, `phpiredis`)
return callable