public function getRequestTargetWithParams($params)
    {
        $target = $this->getFullPath();

        if ($params) {
            $target .= '?' . http_build_query($params);
        }

        return $target;
    }
public function getRequestTargetWithParams($params)
    {
        $target = $this->getFullPath();

        if ($params) {
            $target .= '?' . http_build_query($params);
        }

        return $target;
    }
public function getRequestTargetWithParams ( $ params ) { $ target = $ this -> getFullPath ( ) ; if ( $ params ) { $ target .= '?' . http_build_query ( $ params ) ; } return $ target ; }
Get Request URI.

Note: This method is not part of the PSR-7 standard.

@param array $params

@return string
Get Request URI .