InteractsWithSockets
Table of Contents
- $socket : string|null
- The socket ID for the user that raised the event.
- broadcastToEveryone() : $this
- Broadcast the event to everyone.
- dontBroadcastToCurrentUser() : $this
- Exclude the current user from receiving the broadcast.
Properties
$socket
The socket ID for the user that raised the event.
public
string|null
$socket
Methods
broadcastToEveryone()
Broadcast the event to everyone.
public
broadcastToEveryone() : $this
Return values
$this —dontBroadcastToCurrentUser()
Exclude the current user from receiving the broadcast.
public
dontBroadcastToCurrentUser() : $this