PrefixOption
    
            
            in package
            
        
    
            
            implements
                            OptionInterface                    
    
    
        
            Configures a command processor that apply the specified prefix string to a series of Redis commands considered prefixable.
Tags
Interfaces, Classes and Traits
- OptionInterface
- Defines an handler used by Predis\Configuration\Options to filter, validate or return default values for a given option.
Table of Contents
- filter() : mixed
- Filters and validates the passed value.
- getDefault() : mixed
- Returns the default value for the option.
Methods
filter()
Filters and validates the passed value.
    public
                filter(OptionsInterface $options, mixed $value) : mixed
    
        Parameters
- $options : OptionsInterface
- 
                    Options container. 
- $value : mixed
- 
                    Input value. 
Return values
mixed —getDefault()
Returns the default value for the option.
    public
                getDefault(OptionsInterface $options) : mixed
    
        Parameters
- $options : OptionsInterface
- 
                    Options container.