$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|null $ignore = null): Kirby\Http\Route
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $pathrequired | string |
no default value | |
| $methodrequired | string |
no default value | |
| $ignore | arrayornull |
null
|
(Passing null has been deprecated) |
Return type
This method modifies the existing $router object it is applied to and returns it again.