Skip to content

Kirby 4.5.0

$route->name()

Returns the route name if set

$route->name(): string|null

Return type

string|null

Parent class

Kirby\Http\Route