Skip to content

Kirby 4.2.0

$route->parse()

Tries to match the path with the regular expression and extracts all arguments for the Route action

$route->parse(string $pattern, string $path): array|false

Parameters

Name Type Default
$pattern * string
$path * string

Return type

array|false

Parent class

Kirby\Http\Route