EventHandlerInterface.php 637 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * 重庆赤晓店信息科技有限公司
  4. * https://www.chixiaodian.com
  5. * Copyright (c) 2023 赤店商城 All rights reserved.
  6. */
  7. /*
  8. * This file is part of the overtrue/wechat.
  9. *
  10. * (c) overtrue <i@overtrue.me>
  11. *
  12. * This source file is subject to the MIT license that is bundled
  13. * with this source code in the file LICENSE.
  14. */
  15. namespace ByteDance\Kernel\Contracts;
  16. /**
  17. * Interface EventHandlerInterface.
  18. *
  19. * @author mingyoung <mingyoungcheung@gmail.com>
  20. */
  21. interface EventHandlerInterface
  22. {
  23. /**
  24. * @param mixed $payload
  25. */
  26. public function handle($payload = null);
  27. }