Skip to content

Kirby 5.0.4

$languageRouter->call()

Wrapper around the Router::call method that injects the Language instance and if needed also the Page as arguments.

$languageRouter->call(string|null $path = null): mixed

Parameters

Name Type Default
$path stringornull null

Return type

mixed

This method modifies the existing $languagerouter object it is applied to and returns it again.

Parent class

Kirby\Cms\LanguageRouter