Search\Model\Filter\Base::value PHP Method

value() public method

Get the value of the "name" from HTTP GET arguments.
public value ( ) : mixed
return mixed
    public function value()
    {
        $value = $this->_config['defaultValue'];
        if (isset($this->_args[$this->name()])) {
            $passedValue = $this->_args[$this->name()];
            if (!is_array($passedValue) || $this->config('multiValue')) {
                return $passedValue;
            }
        }
        return $value;
    }