Url::fix()
Tries to fix a broken url without protocol
Url::fix(string|null $url = null): string|null
Parameters
Name | Type | Default |
---|---|---|
$url | string ornull |
null
|
Return types
string
ornull
Parent class
Kirby\Cms\Url
inherited from Kirby\Http\Url