$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 = null): Kirby\Http\Route|null
Parameters
| Name | Type | Default |
|---|---|---|
| $path * | string |
– |
| $method * | string |
– |
| $ignore | array |
null |
Return type
Kirby\Http\Route|null