No Description

AppServiceProvider.php 496B

123456789101112131415161718192021222324252627282930
  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. * @return void
  10. */
  11. public function register()
  12. {
  13. if (app()->isLocal()) {
  14. app()->register(TelescopeServiceProvider::class);
  15. }
  16. }
  17. /**
  18. * Bootstrap any application services.
  19. *
  20. * @return void
  21. */
  22. public function boot()
  23. {
  24. //
  25. }
  26. }