Skip to content

Kirby 3.9.8

$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

Return type

Kirby\Http\Route

Parent class

Kirby\Http\Router