海南旅游SAAS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
870 B

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. <?php
  2. namespace App\Providers;
  3. use App\Listeners\OrderEventSubscriber;
  4. use App\Listeners\SupplierEventSubscriber;
  5. use Illuminate\Auth\Events\Registered;
  6. use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
  7. use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
  8. use Illuminate\Support\Facades\Event;
  9. class EventServiceProvider extends ServiceProvider
  10. {
  11. /**
  12. * The event listener mappings for the application.
  13. *
  14. * @var array
  15. */
  16. protected $listen = [
  17. Registered::class => [
  18. SendEmailVerificationNotification::class,
  19. ],
  20. ];
  21. /**
  22. * Register any events for your application.
  23. *
  24. * @return void
  25. */
  26. public function boot()
  27. {
  28. //
  29. }
  30. protected $subscribe = [
  31. SupplierEventSubscriber::class,
  32. OrderEventSubscriber::class,
  33. ];
  34. }