new Router() Creates a new router object and registers all the given routes Full class name: Kirby\Http\Router kirby/src/Http/Router.php#L55 new Router(array $routes = [ ]) Parameters Name Type Default $routes array [ ] Parent class Kirby\Http\Router