Skip to content

Kirby 3.7.5

$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

Parent class

Kirby\Http\Router