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 | stringornull |
null
|
| $options | arrayornull |
null
|
Return type
string