'mio test' ]; } /** * Get the channels the event should broadcast on. * * @return \Illuminate\Broadcasting\Channel|array */ public function broadcastOn() { // return new PrivateChannel('channel-name'); return new channel('communications'); } /** * The event's broadcast name. * * @return string */ public function broadcastAs() { return 'global.message'; } }