platform/api/laravel/Queue/Failed/NullFailedJobProvider.yaml

99 lines
1.6 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
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