public static function createRouter() { $router = static::createRouterWithoutInit(); $router->init(); return $router; }