Skip to content

Kirby 5.0.4

$kirby->router()

Returns the Router singleton

$kirby->router(): Kirby\Http\Router

Return type

Kirby\Http\Router

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

Parent class

Kirby\Cms\App