/app/Providers/EventServiceProvider.php

https://bitbucket.org/mdoviedor/hotelium · PHP · 28 lines · 16 code · 4 blank · 8 comment · 0 complexity · cbc16ecdf19b93419196ac6d7cf8b859 MD5 · raw file

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