HidePartner.php 539 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace App\Events;
  3. use Illuminate\Queue\SerializesModels;
  4. use Illuminate\Foundation\Events\Dispatchable;
  5. use Illuminate\Broadcasting\InteractsWithSockets;
  6. /**
  7. * 隐藏卡片事件
  8. * @package App\Events
  9. */
  10. class HidePartner
  11. {
  12. use Dispatchable;
  13. use InteractsWithSockets;
  14. use SerializesModels;
  15. public $partner_id;
  16. /**
  17. * Create a new event instance.
  18. *
  19. * @param int $partner_id
  20. */
  21. public function __construct(int $partner_id)
  22. {
  23. $this->partner_id = $partner_id;
  24. }
  25. }