Aucune description

EventServiceProvider.php 626B

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