$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 |
---|---|---|
$pathrequired | string |
no default value |
$methodrequired | string |
no default value |
$ignore | array ornull |
null
|
Return type
This method modifies the existing $router
object it is applied to and returns it again.