public static function make($uri, array $queryParameters = [])
    {
        $uri = ($uri instanceof UriInterface) ? $uri : new Uri($uri);
        if ($queryParameters) {
            $uri = static::addQueryParameters($uri, $queryParameters);
        }
        return $uri;
    }
public static function make($uri, array $queryParameters = [])
    {
        $uri = ($uri instanceof UriInterface) ? $uri : new Uri($uri);
        if ($queryParameters) {
            $uri = static::addQueryParameters($uri, $queryParameters);
        }
        return $uri;
    }
public static function make ( $ uri , array $ queryParameters = [ ] ) { $ uri = ( $ uri instanceof UriInterface ) ? $ uri : new Uri ( $ uri ) ; if ( $ queryParameters ) { $ uri = static :: addQueryParameters ( $ uri , $ queryParameters ) ; } return $ uri ; }
Makes PSR-7 compliant Uri object

@param string|UriInterface $uri
@param array $queryParameters Query parameters to add / overwrite
@return UriInterface
Makes PSR - 7 compliant Uri object