EachLike.php 479 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace App\Events;
  3. use Illuminate\Queue\SerializesModels;
  4. /**
  5. * 相互心动事件
  6. * Class EachLike
  7. * @package App\Events
  8. */
  9. class EachLike
  10. {
  11. use SerializesModels;
  12. public $uid;
  13. public $isLikeUid;
  14. /**
  15. * Create a new event instance.
  16. *
  17. * @param int $uid
  18. * @param int $isLikeUid
  19. */
  20. public function __construct(int $uid, int $isLikeUid)
  21. {
  22. $this->uid = $uid;
  23. $this->isLikeUid = $isLikeUid;
  24. }
  25. }