$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 |
|---|---|---|
| $patternrequired | string |
no default value |
| $pathrequired | string |
no default value |
Return types
arrayorfalse
This method modifies the existing $route object it is applied to and returns it again.