Zend\Uri\Uri::merge
Merge a base URI and a relative URI into a new URI object
This convenience method wraps ::resolve() to allow users to quickly create new absolute URLs without the need to instantiate and clone URI objects. If objects are passed in, none of the passed objects will be modified.
Signature
public function merge(Uri|string
$baseUri,
Uri|string
$relativeUri )
Parameters
$baseUri
— object
$relativeUri
— object
Returns
- Uri