platform/api/laravel/Foundation/Events/Dispatchable.yaml

54 lines
1 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: Dispatchable
class_comment: null
dependencies: []
properties: []
methods:
- name: dispatch
visibility: public
parameters: []
comment: '# * Dispatch the event with the given arguments.
# *
# * @return mixed'
- name: dispatchIf
visibility: public
parameters:
- name: boolean
- name: '...$arguments'
comment: '# * Dispatch the event with the given arguments if the given truth test
passes.
# *
# * @param bool $boolean
# * @param mixed ...$arguments
# * @return mixed'
- name: dispatchUnless
visibility: public
parameters:
- name: boolean
- name: '...$arguments'
comment: '# * Dispatch the event with the given arguments unless the given truth
test passes.
# *
# * @param bool $boolean
# * @param mixed ...$arguments
# * @return mixed'
- name: broadcast
visibility: public
parameters: []
comment: '# * Broadcast the event with the given arguments.
# *
# * @return \Illuminate\Broadcasting\PendingBroadcast'
traits: []
interfaces: []