33 lines
809 B
YAML
33 lines
809 B
YAML
|
name: InteractsWithSockets
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: Broadcast
|
||
|
type: class
|
||
|
source: Illuminate\Support\Facades\Broadcast
|
||
|
properties:
|
||
|
- name: socket
|
||
|
visibility: public
|
||
|
comment: '# * The socket ID for the user that raised the event.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @var string|null'
|
||
|
methods:
|
||
|
- name: dontBroadcastToCurrentUser
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: "# * The socket ID for the user that raised the event.\n# *\n# * @var string|null\n\
|
||
|
# */\n# public $socket;\n# \n# /**\n# * Exclude the current user from receiving\
|
||
|
\ the broadcast.\n# *\n# * @return $this"
|
||
|
- name: broadcastToEveryone
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Broadcast the event to everyone.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return $this'
|
||
|
traits:
|
||
|
- Illuminate\Support\Facades\Broadcast
|
||
|
interfaces: []
|