98 lines
1.6 KiB
YAML
98 lines
1.6 KiB
YAML
name: NullFailedJobProvider
|
|
class_comment: null
|
|
dependencies: []
|
|
properties: []
|
|
methods:
|
|
- name: log
|
|
visibility: public
|
|
parameters:
|
|
- name: connection
|
|
- name: queue
|
|
- name: payload
|
|
- name: exception
|
|
comment: '# * Log a failed job into storage.
|
|
|
|
# *
|
|
|
|
# * @param string $connection
|
|
|
|
# * @param string $queue
|
|
|
|
# * @param string $payload
|
|
|
|
# * @param \Throwable $exception
|
|
|
|
# * @return int|null'
|
|
- name: ids
|
|
visibility: public
|
|
parameters:
|
|
- name: queue
|
|
default: 'null'
|
|
comment: '# * Get the IDs of all of the failed jobs.
|
|
|
|
# *
|
|
|
|
# * @param string|null $queue
|
|
|
|
# * @return array'
|
|
- name: all
|
|
visibility: public
|
|
parameters: []
|
|
comment: '# * Get a list of all of the failed jobs.
|
|
|
|
# *
|
|
|
|
# * @return array'
|
|
- name: find
|
|
visibility: public
|
|
parameters:
|
|
- name: id
|
|
comment: '# * Get a single failed job.
|
|
|
|
# *
|
|
|
|
# * @param mixed $id
|
|
|
|
# * @return object|null'
|
|
- name: forget
|
|
visibility: public
|
|
parameters:
|
|
- name: id
|
|
comment: '# * Delete a single failed job from storage.
|
|
|
|
# *
|
|
|
|
# * @param mixed $id
|
|
|
|
# * @return bool'
|
|
- name: flush
|
|
visibility: public
|
|
parameters:
|
|
- name: hours
|
|
default: 'null'
|
|
comment: '# * Flush all of the failed jobs from storage.
|
|
|
|
# *
|
|
|
|
# * @param int|null $hours
|
|
|
|
# * @return void'
|
|
- name: count
|
|
visibility: public
|
|
parameters:
|
|
- name: connection
|
|
default: 'null'
|
|
- name: queue
|
|
default: 'null'
|
|
comment: '# * Count the failed jobs.
|
|
|
|
# *
|
|
|
|
# * @param string|null $connection
|
|
|
|
# * @param string|null $queue
|
|
|
|
# * @return int'
|
|
traits: []
|
|
interfaces:
|
|
- CountableFailedJobProvider
|