platform/api/laravel/Contracts/Bus/QueueingDispatcher.yaml
2024-09-02 10:44:11 -07:00

40 lines
788 B
YAML

name: QueueingDispatcher
class_comment: null
dependencies: []
properties: []
methods:
- name: findBatch
visibility: public
parameters:
- name: batchId
comment: '# * Attempt to find the batch with the given ID.
# *
# * @param string $batchId
# * @return \Illuminate\Bus\Batch|null'
- name: batch
visibility: public
parameters:
- name: jobs
comment: '# * Create a new batch of queueable jobs.
# *
# * @param \Illuminate\Support\Collection|array $jobs
# * @return \Illuminate\Bus\PendingBatch'
- name: dispatchToQueue
visibility: public
parameters:
- name: command
comment: '# * Dispatch a command to its appropriate handler behind a queue.
# *
# * @param mixed $command
# * @return mixed'
traits: []
interfaces: []