Skip to content

Kirby 6.0.0

$router->routes()

Extract the routes from the given array of active areas.

$router->routes(Areas|null $areas = null): array

Parameters

Name Type Default
$areas Kirby\Panel\Areasornull null

Return type

array

Parent class

Kirby\Panel\Router