PluginLevelEvent.php 428 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: yunzhong
  5. * Date: 2019/12/6
  6. * Time: 9:50
  7. */
  8. namespace app\common\events;
  9. class PluginLevelEvent extends Event
  10. {
  11. /**
  12. * SmsMessage constructor.
  13. * @param array $params
  14. *
  15. */
  16. private $params = [];
  17. function __construct($params)
  18. {
  19. $this->params = $params;
  20. }
  21. public function getData()
  22. {
  23. return $this->params;
  24. }
  25. }