Documentation

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

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
Return values
$this

Search results