Url::short()
Shortens the Url by removing all unnecessary parts
Url::short(string|null $url = null, int $length = 0, bool $base = false, string $rep = '…'): string
Parameters
| Name | Type | Default |
|---|---|---|
| $url | stringornull |
null
|
| $length | int |
0
|
| $base | bool |
false
|
| $rep | string |
'…'
|
Return type
string
Parent class
Kirby\Cms\Url
inherited from Kirby\Http\Url