public function withAddedQueryParameters(array $parameters)
    {
        $clone = clone $this;

        $clone->info['query'] = empty($clone->info['query']) ? $parameters : array_replace($clone->info['query'], $parameters);

        return $clone;
    }
public function withAddedQueryParameters(array $parameters)
    {
        $clone = clone $this;

        $clone->info['query'] = empty($clone->info['query']) ? $parameters : array_replace($clone->info['query'], $parameters);

        return $clone;
    }
public function withAddedQueryParameters ( array $ parameters ) { $ clone = clone $ this ; $ clone -> info [ 'query' ] = empty ( $ clone -> info [ 'query' ] ) ? $ parameters : array_replace ( $ clone -> info [ 'query' ] , $ parameters ) ; return $ clone ; }
Returns a clone with new query parameters merged.

@param array $parameters

@return Url
Returns a clone with new query parameters merged .