trait
Illuminate
/
Broadcasting
/
InteractsWithSockets
You are viewing an older version of the documentation. For the latest, please visit master documentation.
InteractsWithSockets
Properties
public
$socket string|null
The socket ID for the user that raised the event.
Default: null
Methods
public
dontBroadcastToCurrentUser ( ) : $this
Exclude the current user from receiving the broadcast.
public
broadcastToEveryone ( ) : $this
Broadcast the event to everyone.