trait InteractsWithSockets (View source)

Properties

string|null $socket The socket ID for the user that raised the event.

Methods

$this
dontBroadcastToCurrentUser()

Exclude the current user from receiving the broadcast.

$this
broadcastToEveryone()

Broadcast the event to everyone.

Details

$this dontBroadcastToCurrentUser()

Exclude the current user from receiving the broadcast.

Return Value

$this

$this broadcastToEveryone()

Broadcast the event to everyone.

Return Value

$this