$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
Parameters
Name | Type | Default |
---|---|---|
$path * | string |
– |
$method * | string |
– |
$ignore | array |null |
null |