Url::short()
Shortens the Url by removing all unnecessary parts
Parameters
Name | Type | Default |
---|---|---|
$url | string |
null |
$length | int |
|
$base | bool |
false |
$rep | string |
'…' |
Return type
string