ExampleListener.php 484 B

12345678910111213141516171819202122232425262728293031
  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. }