static public function buildUrl($path, $params=null)
	{
	    $parts = explode('?', $path, 2);
	    $pathParams = isset($parts[1]) ? static::parseQuery($parts[1]) : [];
	    if (is_string($params)) {
	        $params = static::parseQuery($params);
	    }
	    if ($params) {
	        $pathParams = array_merge($pathParams, $params);
	    }
	    
	    return $parts[0] . ($pathParams ? '?' . http_build_query($pathParams) : '');
	}
static public function buildUrl($path, $params=null)
	{
	    $parts = explode('?', $path, 2);
	    $pathParams = isset($parts[1]) ? static::parseQuery($parts[1]) : [];
	    if (is_string($params)) {
	        $params = static::parseQuery($params);
	    }
	    if ($params) {
	        $pathParams = array_merge($pathParams, $params);
	    }
	    
	    return $parts[0] . ($pathParams ? '?' . http_build_query($pathParams) : '');
	}
static public function buildUrl ( $ path , $ params = null ) { $ parts = explode ( '?' , $ path , 2 ) ; $ pathParams = isset ( $ parts [ 1 ] ) ? static :: parseQuery ( $ parts [ 1 ] ) : [ ] ; if ( is_string ( $ params ) ) { $ params = static :: parseQuery ( $ params ) ; } if ( $ params ) { $ pathParams = array_merge ( $ pathParams , $ params ) ; } return $ parts [ 0 ] . ( $ pathParams ? '?' . http_build_query ( $ pathParams ) : '' ) ; }
build url from path and queryParams
@param  string       $path
@param  string|array $params
@return string
build url from path and queryParams