54 lines
1 KiB
YAML
54 lines
1 KiB
YAML
|
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: []
|