$router->find()
Finds a Route object by path and method The Route's arguments method is used to find matches and return all the found arguments in the path.
$router->find(string $path, string $method, array $ignore = []): Route
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $pathrequired | string |
no default value | |
| $methodrequired | string |
no default value | |
| $ignore | array<Kirby\Http\Route> |
[]
|
Routes to skip |