AppServiceProvider.php 466 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace App\Providers;
  3. use Illuminate\Support\ServiceProvider;
  4. class AppServiceProvider extends ServiceProvider
  5. {
  6. /**
  7. * Register any application services.
  8. */
  9. public function register(): void
  10. {
  11. $this->app->singleton(VpnManager::class, function ($app) {
  12. return new VpnManager();
  13. });
  14. }
  15. /**
  16. * Bootstrap any application services.
  17. */
  18. public function boot(): void
  19. {
  20. //
  21. }
  22. }