Msg.php 319 B

12345678910111213141516171819
  1. <?php
  2. namespace app\event;
  3. class Msg
  4. {
  5. public $msg;
  6. public $employee;
  7. public $type;
  8. public $data;
  9. public function __construct($employee, $msg, $type, $data=[])
  10. {
  11. $this->employee = $employee;
  12. $this->msg = $msg;
  13. $this->type = $type;
  14. $this->data = $data;
  15. }
  16. }