PHP Interface Predis\Configuration\OptionInterface

Author: Daniele Alessandri ([email protected])
Datei anzeigen Open project: tillkruss/redis-object-cache

Public Methods

Method Description
filter ( Predis\Configuration\OptionsInterface $options, mixed $value ) : mixed Filters and validates the passed value.
getDefault ( Predis\Configuration\OptionsInterface $options ) : mixed Returns the default value for the option.

Method Details

filter() public method

Filters and validates the passed value.
public filter ( Predis\Configuration\OptionsInterface $options, mixed $value ) : mixed
$options Predis\Configuration\OptionsInterface Options container.
$value mixed Input value.
return mixed

getDefault() public method

Returns the default value for the option.
public getDefault ( Predis\Configuration\OptionsInterface $options ) : mixed
$options Predis\Configuration\OptionsInterface Options container.
return mixed