Filtering params

@param strin $name param name

@return null
184907
private function filterParams($name)
    {
        if (empty($this->options[$name])) {
            return;
        }

        if (is_array($this->options['params_filters'])) {
            foreach ($this->options['params_filters'] as $pattern) {
                foreach ($this->options[$name] as $key => $value) {

                    if (preg_match($pattern, $key)) {
                        $this->options[$name][$key] = '[FILTERED]';
                    }
                }
            }
        }
    }
442665
public function getMinkParameter($name)
    {
        return isset($this->minkParameters[$name]) ? $this->minkParameters[$name] : null;
    }
948670
public function param($name, $default = null)
    {
        if(!$this->params)
            $this->params = $this->getMethod() == 'GET' ? $this->getQueryParams() : array_merge($this->getQueryParams(), $this->getParsedBody());

        return array_key_exists($name, $this->params) ? $this->params[$name] : $default;
    }
1354799
private function getParam(string $name, string $default = null): ?string
	{
		return $this->request->getPost($name, $default);
	}
1031727
public function getParam($name)
        {
            $name = (string) $name;

            if (!array_key_exists($name, $this->_params)) {
                return null;
            }

            return $this->_params[$name];
        }
216837
public function postParam($name){
        if(isset($this->postParams[$name])){
            return $this->postParams[$name];
        }else{
            return NULL;
        }
    }
772169
public function filterByPrefixName($name)
    {
        return $this->filter(function (Route $route) use ($name)
        {
            return strpos($route->getName(), $name) === 0;
        });
    }
821688
public function findRequest(string $name)
    {
        foreach ($this->actions as $action) {
            if ($action->getRequest()->getName() === $name) {
                return $action->getRequest();
            }
        }

        return null;
    }
1322415
private static function getReferParams($name)
    {
        static $params = null;

        if (is_null($params)) {
            if (isset($_SERVER['HTTP_REFERER'])) {
                $args = parse_url($_SERVER['HTTP_REFERER']);
                parse_str($args['query'], $params);
            }
        }
        return isset($params[$name]) ? $params[$name] : null;
    }
1320117
public function getParameters(string $name = null)
    {
        if (is_null($name)) {
            return $this->getRoute('parameters');
        }

        return $this->getRoute('parameters', $name);
    }
705781
protected function getParameter($name)
    {
        return array_key_exists($name, $this->templateVars)?$this->templateVars[$name]:null;
    }
502369
protected function getRequiredParameter($name)
    {
        if(!array_key_exists($name, $this->params))
            throw new FiltererException('Required parameter ['.$name.'] is missing on filter call ['.$this->currentFilter.']');

        return $this->params[$name];
    }
996864
public function getWordpressParameter(string $name)
    {
        return ! empty($this->wordpress_parameters[$name]) ? $this->wordpress_parameters[$name] : null;
    }
205503
public function getCleanParam($name){
        if(isset($this->getParams[$name])){            
            return Security::clean_vars($this->getParams[$name]);
        }else{
            return NULL;
        }
    }
203706
public function getFilteredParameter($name) {
        if (array_key_exists($name, $this->parameters) == false) {
            throw new \Exception('Parameter '.$name.' does not exist.');
        }

        $value = $this->parameters[$name];


        return $value;
    }
167144
public function getParameterValue($name)
    {
        return (isset($this->attributes[$name])) ? $this->attributes[$name] : null;
    }
427035
public function filter($name)
    {
        if (!$this->getAllowMultibyte()) {
            // Only transliterate when no multibyte support is requested
            $transliterator = $this->getTransliterator();
            if ($transliterator) {
                $name = $transliterator->toASCII($name);
            }
        }

        $name = mb_strtolower($name);
        $replacements = $this->getReplacements();

        // Unset automated removal of non-ASCII characters, and don't try to transliterate
        if ($this->getAllowMultibyte() && isset($replacements['/[^A-Za-z0-9\-]+/u'])) {
            unset($replacements['/[^A-Za-z0-9\-]+/u']);
        }

        foreach ($replacements as $regex => $replace) {
            $name = preg_replace($regex, $replace, $name);
        }

        // Multibyte URLs require percent encoding to comply to RFC 3986.
        // Without this setting, the "remove non-ASCII chars" regex takes care of that.
        if ($this->getAllowMultibyte()) {
            $name = rawurlencode($name);
        }

        return $name;
    }