$kirby->url()
Returns a system url
Parameters
Name | Type | Default | Description |
---|---|---|---|
$type | string |
'index' |
|
$object | bool |
false |
If set to true , the URL is converted to an object |
Return type
Kirby\Http\Uri
|string
|null