public function getParams()
    {
        if(!$this->params)
            $this->params = $this->getMethod() == 'GET' ? $this->getQueryParams() : array_merge($this->getQueryParams(), $this->getParsedBody());

        return $this->params;
    }
public function getParams()
    {
        if(!$this->params)
            $this->params = $this->getMethod() == 'GET' ? $this->getQueryParams() : array_merge($this->getQueryParams(), $this->getParsedBody());

        return $this->params;
    }
public function getParams ( ) { if ( ! $ this -> params ) $ this -> params = $ this -> getMethod ( ) == 'GET' ? $ this -> getQueryParams ( ) : array_merge ( $ this -> getQueryParams ( ) , $ this -> getParsedBody ( ) ) ; return $ this -> params ; }
Get merged query params and parsed body
@return array
Get merged query params and parsed body