Url::to()
Smart resolver for internal and external urls
Url::to(string $path = null, array|string|null $options = null): string
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $path | string |
null |
|
| $options | array|string|null |
null |
Either an array of options for the Uri class or a language string |
Return type
string