load('user'); $this->protocol = $protocol; } /** * Get the channels the event should broadcast on. * * @return \Illuminate\Broadcasting\Channel|array */ public function broadcastOn() { return new PrivateChannel('Protocol.'.$this->protocol->tournament_id); } public $protocol; }