0
To your Comment broadcast Class You could format your data using this function:
public function broadcastWith()
{
return ['username' => $this->username,'message'=>$this->message];
}
Programing Coderfunda
May 18, 2022
Laravel, php
No comments
0
To your Comment broadcast Class You could format your data using this function:
public function broadcastWith()
{
return ['username' => $this->username,'message'=>$this->message];
}
0 comments:
Post a Comment
Thanks