public function queryVar(string $key): string
    {
        if (isset($this->query_vars[$key])) {
            return $this->query_vars[$key];
        }
        $value = ''; // Initialize.

        if (isset($_REQUEST[$key])) {
            $value = (string) $_REQUEST[$key];
            $value = $this->c::unslash($value);
            $value = $this->c::mbTrim($value);
        } elseif (isset($this->rewrite_query_vars[$key])) {
            $value = $this->rewrite_query_vars[$key];
        }
        return $this->query_vars[$key] = $value;
    }
public function queryVar(string $key): string
    {
        if (isset($this->query_vars[$key])) {
            return $this->query_vars[$key];
        }
        $value = ''; // Initialize.

        if (isset($_REQUEST[$key])) {
            $value = (string) $_REQUEST[$key];
            $value = $this->c::unslash($value);
            $value = $this->c::mbTrim($value);
        } elseif (isset($this->rewrite_query_vars[$key])) {
            $value = $this->rewrite_query_vars[$key];
        }
        return $this->query_vars[$key] = $value;
    }
public function queryVar ( string $ key ) : string { if ( isset ( $ this -> query_vars [ $ key ] ) ) { return $ this -> query_vars [ $ key ] ; } $ value = '' ; // Initialize. if ( isset ( $ _REQUEST [ $ key ] ) ) { $ value = ( string ) $ _REQUEST [ $ key ] ; $ value = $ this -> c :: unslash ( $ value ) ; $ value = $ this -> c :: mbTrim ( $ value ) ; } elseif ( isset ( $ this -> rewrite_query_vars [ $ key ] ) ) { $ value = $ this -> rewrite_query_vars [ $ key ] ; } return $ this -> query_vars [ $ key ] = $ value ; }
Parse route.

@since 161008 Route.

@param string $key Query var key.

@return string Parsed route contents.
Parse route .