Skip to content

Kirby 6.0.1

$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): list|false

Parameters

Name Type Default
$patternrequired string no default value
$pathrequired string no default value

Return types

list<string>orfalse

Parent class

Kirby\Http\Route