EventServiceProvider.php 647 B

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