api/laravel/Broadcasting/InteractsWithSockets.yaml

33 lines
809 B
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
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: []