Reference

Guide

$kirby->resolve()

Path resolver for the router

$kirby->resolve(string $path = null, string $language = null): mixed

Parameters

Name Type Default Description
$path string null
$language string null

Return type

mixed

Exceptions

Type Description
Kirby\Exception\NotFoundException

if the home page cannot be found

Source code

kirby/src/Cms/App.php#L1040