$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