public function getQueryParams()
    {
        if (!is_null($this->queryParams)) {
            return $this->queryParams;
        } else {
            if (!is_null($this->getUri())) {
                parse_str($this->getUri()->getQuery(), $this->queryParams);

                return $this->queryParams;
            } else {
                return [];
            }
        }
    }