public static function uriWithArguments(UriInterface $uri, array $arguments): UriInterface
    {
        $query = http_build_query($arguments, '', '&', PHP_QUERY_RFC3986);
        return $uri->withQuery($query);
    }
public static function uriWithArguments(UriInterface $uri, array $arguments): UriInterface
    {
        $query = http_build_query($arguments, '', '&', PHP_QUERY_RFC3986);
        return $uri->withQuery($query);
    }
public static function uriWithArguments ( UriInterface $ uri , array $ arguments ) : UriInterface { $ query = http_build_query ( $ arguments , '' , '&' , PHP_QUERY_RFC3986 ) ; return $ uri -> withQuery ( $ query ) ; }
Returns an Uri object with the query string being generated from the array of arguments given

@param UriInterface $uri
@param array $arguments
@return UriInterface
Returns an Uri object with the query string being generated from the array of arguments given