You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
622 B

  1. <?php
  2. namespace App\Events;
  3. use Illuminate\Broadcasting\Channel;
  4. use Illuminate\Broadcasting\InteractsWithSockets;
  5. use Illuminate\Broadcasting\PresenceChannel;
  6. use Illuminate\Broadcasting\PrivateChannel;
  7. use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
  8. use Illuminate\Foundation\Events\Dispatchable;
  9. use Illuminate\Queue\SerializesModels;
  10. class TaskUpdate
  11. {
  12. use Dispatchable, InteractsWithSockets, SerializesModels;
  13. public $message;
  14. /**
  15. * Create a new event instance.
  16. *
  17. * @return void
  18. */
  19. public function __construct($message)
  20. {
  21. $this->message = $message;
  22. }
  23. }