Url::path()
Returns the path for the given url
Parameters
Name | Type | Default |
---|---|---|
$url | array |string |null |
null |
$leadingSlash | bool |
false |
$trailingSlash | bool |
false |
Return type
string
Parent class
Kirby\Cms\Url
inherited from Kirby\Http\Url