InteractsWithSockets
trait InteractsWithSockets
Properties
| string|null | $socket | The socket ID for the user that raised the event. |
Methods
dontBroadcastToCurrentUser()
Exclude the current user from receiving the broadcast.
broadcastToEveryone()
Broadcast the event to everyone.
Details
at line 19
InteractsWithSockets
dontBroadcastToCurrentUser()
Exclude the current user from receiving the broadcast.
at line 29
InteractsWithSockets
broadcastToEveryone()
Broadcast the event to everyone.