ExampleListener.php 484B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace App\Listeners;
  3. use App\Events\ExampleEvent;
  4. use Illuminate\Queue\InteractsWithQueue;
  5. use Illuminate\Contracts\Queue\ShouldQueue;
  6. class ExampleListener
  7. {
  8. /**
  9. * Create the event listener.
  10. *
  11. * @return void
  12. */
  13. public function __construct()
  14. {
  15. //
  16. }
  17. /**
  18. * Handle the event.
  19. *
  20. * @param ExampleEvent $event
  21. * @return void
  22. */
  23. public function handle(ExampleEvent $event)
  24. {
  25. //
  26. }
  27. }