|
Uri\WhatWg\Url::resolveResolve a URL with the current object as the base URL Description
public static Uri\WhatWg\Url::resolve(string
$uri, array &$softErrors = null)Resolves a valid URL string - which may potentially be a relative-URL string - with the current object as the base URL. Parameters
Return ValuesA new Uri\WhatWg\Url instance. Errors/ExceptionsIf the resulting URL is invalid, a Uri\WhatWg\InvalidUrlException is thrown. ExamplesExample #1 Uri\WhatWg\Url::resolve basic example The above example will output: https://example.com/foo See Also
|