src/ExtensionServiceProvider.php
protected function registerExtensionUrlGenerator(): void
    {
        $this->app->bind('orchestra.extension.url', function (Application $app) {
            return new UrlGenerator($app->make('request'));
        });
    }
protected function registerExtensionUrlGenerator(): void
    {
        $this->app->bind('orchestra.extension.url', function (Application $app) {
            return new UrlGenerator($app->make('request'));
        });
    }
Register the service provider for Extension Provider.

@return void