Zend\Uri\Uri::makeRelative
Convert the link to a relative link by substracting a base URI
This is the opposite of resolving a relative link - i.e. creating a relative reference link from an original URI and a base URI. If the two URIs do not intersect (e.g. the original URI is not in any way related to the base URI) the URI will not be modified.
Signature
public function makeRelative(Uri|string
$baseUri )
Parameters
$baseUri
— object
Returns
- Uri