protected static function combineUrl($url, $params = [])
    {
        $urlObject = Url::parse($url);
        $queryData = array_merge($urlObject->query->getData(), $params);
        $urlObject->query->setData($queryData);

        return $urlObject->getUrl();
    }
protected static function combineUrl($url, $params = [])
    {
        $urlObject = Url::parse($url);
        $queryData = array_merge($urlObject->query->getData(), $params);
        $urlObject->query->setData($queryData);

        return $urlObject->getUrl();
    }
protected static function combineUrl ( $ url , $ params = [ ] ) { $ urlObject = Url :: parse ( $ url ) ; $ queryData = array_merge ( $ urlObject -> query -> getData ( ) , $ params ) ; $ urlObject -> query -> setData ( $ queryData ) ; return $ urlObject -> getUrl ( ) ; }
Manipulate the url & params for GET request

@param string $url
@param array $params
@return string
Manipulate the url & params for GET request