Url::to()
Smart resolver for internal and external urls
Url::to(string|null $path = null, array|null $options = null): string
Parameters
Name | Type | Default |
---|---|---|
$path | string ornull |
null
|
$options | array ornull |
null
|
Return type
string