$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 | string ornull |
null
|
Return type
mixed
This method modifies the existing $languagerouter
object it is applied to and returns it again.