Skip to content

Kirby 6.0.0

$routes->params()

$routes->params(Closure|array|string $params, string|null $action = null): array

Parameters

Name Type Default
$paramsrequired Closureorarrayorstring no default value
$action stringornull null

Return type

array

Parent class

Kirby\Panel\Routes\Routes