public function getQueryParams()
    {
        if (is_array($this->queryParams)) {
            return $this->queryParams;
        }

        if (empty($_SERVER['QUERY_STRING'])) {
            return [];
        }

        parse_str($_SERVER['QUERY_STRING'], $this->queryParams);

        return $this->queryParams;
    }
public function getQueryParams()
    {
        if (is_array($this->queryParams)) {
            return $this->queryParams;
        }

        if (empty($_SERVER['QUERY_STRING'])) {
            return [];
        }

        parse_str($_SERVER['QUERY_STRING'], $this->queryParams);

        return $this->queryParams;
    }
public function getQueryParams ( ) { if ( is_array ( $ this -> queryParams ) ) { return $ this -> queryParams ; } if ( empty ( $ _SERVER [ 'QUERY_STRING' ] ) ) { return [ ] ; } parse_str ( $ _SERVER [ 'QUERY_STRING' ] , $ this -> queryParams ) ; return $ this -> queryParams ; }
Get url params.

@return array
Get url params .