$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