api/laravel/Bus/BatchFactory.yaml
2024-09-26 02:03:21 -07:00

70 lines
1.6 KiB
YAML

name: BatchFactory
class_comment: null
dependencies:
- name: CarbonImmutable
type: class
source: Carbon\CarbonImmutable
- name: QueueFactory
type: class
source: Illuminate\Contracts\Queue\Factory
properties:
- name: queue
visibility: protected
comment: '# * The queue factory implementation.
# *
# * @var \Illuminate\Contracts\Queue\Factory'
methods:
- name: __construct
visibility: public
parameters:
- name: queue
comment: "# * The queue factory implementation.\n# *\n# * @var \\Illuminate\\Contracts\\\
Queue\\Factory\n# */\n# protected $queue;\n# \n# /**\n# * Create a new batch factory\
\ instance.\n# *\n# * @param \\Illuminate\\Contracts\\Queue\\Factory $queue\n\
# * @return void"
- name: make
visibility: public
parameters:
- name: repository
- name: id
- name: name
- name: totalJobs
- name: pendingJobs
- name: failedJobs
- name: failedJobIds
- name: options
- name: createdAt
- name: cancelledAt
- name: finishedAt
comment: '# * Create a new batch instance.
# *
# * @param \Illuminate\Bus\BatchRepository $repository
# * @param string $id
# * @param string $name
# * @param int $totalJobs
# * @param int $pendingJobs
# * @param int $failedJobs
# * @param array $failedJobIds
# * @param array $options
# * @param \Carbon\CarbonImmutable $createdAt
# * @param \Carbon\CarbonImmutable|null $cancelledAt
# * @param \Carbon\CarbonImmutable|null $finishedAt
# * @return \Illuminate\Bus\Batch'
traits:
- Carbon\CarbonImmutable
interfaces: []