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 | string ornull |
null
|
$length | int |
0
|
$base | bool |
false
|
$rep | string |
'…'
|
Return type
string