Skip to content

Kirby 5.1.1

$kirby->route()

Returns the currently active route

$kirby->route(): Kirby\Http\Route|null

Return types

Kirby\Http\Routeornull

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

Parent class

Kirby\Cms\App