src/Controller/Component/FilterComponent.php
public function parameters($reset = false)
    {
        if ($reset || is_null($this->_searchParameters)) {
            $this->_searchParameters = new ParameterRegistry($this->_controller, []);
            $parameters = (array)$this->config('parameters');
            foreach ($parameters as $parameter) {
                if (!empty($parameter['name'])) {
                    $this->addParam($parameter['name'], $parameter);
                }
            }
        }

        return $this->_searchParameters;
    }
public function parameters($reset = false)
    {
        if ($reset || is_null($this->_searchParameters)) {
            $this->_searchParameters = new ParameterRegistry($this->_controller, []);
            $parameters = (array)$this->config('parameters');
            foreach ($parameters as $parameter) {
                if (!empty($parameter['name'])) {
                    $this->addParam($parameter['name'], $parameter);
                }
            }
        }

        return $this->_searchParameters;
    }
public function parameters ( $ reset = false ) { if ( $ reset || is_null ( $ this -> _searchParameters ) ) { $ this -> _searchParameters = new ParameterRegistry ( $ this -> _controller , [ ] ) ; $ parameters = ( array ) $ this -> config ( 'parameters' ) ; foreach ( $ parameters as $ parameter ) { if ( ! empty ( $ parameter [ 'name' ] ) ) { $ this -> addParam ( $ parameter [ 'name' ] , $ parameter ) ; } } } return $ this -> _searchParameters ; }
Returns parameters registry instance

@param bool $reset Reset flag.
@return \PlumSearch\FormParameter\ParameterRegistry
Returns parameters registry instance