Normalizes a URL to an absolute URL and validate it. In addition to resolving the URL, this function makes sure
that it is a link to an http or https site.
public static normalizeURL ( string $url ) : string | ||
$url | string | The relative URL. |
Результат | string | An absolute URL for the given relative URL. |