EventHandlerInterface.php 477 B

123456789101112131415161718192021222324
  1. <?php
  2. /*
  3. * This file is part of the overtrue/wechat.
  4. *
  5. * (c) overtrue <i@overtrue.me>
  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\Libs\TikTok\Kernel\Contracts;
  11. /**
  12. * Interface EventHandlerInterface.
  13. *
  14. * @author mingyoung <mingyoungcheung@gmail.com>
  15. */
  16. interface EventHandlerInterface {
  17. /**
  18. * @param mixed $payload
  19. */
  20. public function handle($payload = null);
  21. }