EventServiceProvider.php 328 B

123456789101112131415161718
  1. <?php namespace App\Providers;
  2. use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
  3. class EventServiceProvider extends ServiceProvider {
  4. /**
  5. * The event handler mappings for the application.
  6. *
  7. * @var array
  8. */
  9. protected $listen = [
  10. 'event.name' => [
  11. 'EventListener',
  12. ],
  13. ];
  14. }