$kirby->resolve()
Path resolver for the router
$kirby->resolve() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.
$kirby->resolve(string|null $path = null, string|null $language = null): mixed
Parameters
| Name | Type | Default |
|---|---|---|
| $path | stringornull |
null
|
| $language | stringornull |
null
|
Return type
mixed
This method modifies the existing $app object it is applied to and returns it again.
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\NotFoundException |
if the home page cannot be found |