public function registerRouter()
    {
        $this->app->singleton('router', function ($app) {
            return new Router(
                $app['routes.collection'],
                $app['wpconditions'],
                $app
            );
        });

        $this->app->alias('router', Router::class);
    }