trait
Illuminate
/
Broadcasting
/
InteractsWithSockets
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
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.