ExampleListener.php 565 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /*
  3. * This file is part of the Jiannei/lumen-api-starter.
  4. *
  5. * (c) Jiannei <longjian.huang@foxmail.com>
  6. *
  7. * This source file is subject to the MIT license that is bundled
  8. * with this source code in the file LICENSE.
  9. */
  10. namespace App\Listeners;
  11. use App\Events\ExampleEvent;
  12. class ExampleListener
  13. {
  14. /**
  15. * Create the event listener.
  16. */
  17. public function __construct()
  18. {
  19. }
  20. /**
  21. * Handle the event.
  22. *
  23. * @param \App\Events\ExampleEvent $event
  24. */
  25. public function handle(ExampleEvent $event)
  26. {
  27. }
  28. }