Skip to content

Kirby 5.0.4

$route->pattern()

Getter for the pattern

$route->pattern(): string

Return type

string

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

Parent class

Kirby\Http\Route