Skip to content

Kirby 5.0.2

$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

Exceptions

Type Description
Kirby\Exception\NotFoundException if the home page cannot be found

Parent class

Kirby\Cms\App