src/Valkyrja/Routing/NativeRouter.php
public static function publish(Application $app): void
    {
        $app->container()->singleton(
            Router::class,
            new static($app)
        );

        $app->router()->setup();
    }
public static function publish(Application $app): void
    {
        $app->container()->singleton(
            Router::class,
            new static($app)
        );

        $app->router()->setup();
    }
Publish the provider.

@param Application $app The application

@return void