47 lines
1.3 KiB
YAML
47 lines
1.3 KiB
YAML
|
name: PruneFailedJobsCommand
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: Command
|
||
|
type: class
|
||
|
source: Illuminate\Console\Command
|
||
|
- name: PrunableFailedJobProvider
|
||
|
type: class
|
||
|
source: Illuminate\Queue\Failed\PrunableFailedJobProvider
|
||
|
- name: Carbon
|
||
|
type: class
|
||
|
source: Illuminate\Support\Carbon
|
||
|
- name: AsCommand
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Attribute\AsCommand
|
||
|
properties:
|
||
|
- name: signature
|
||
|
visibility: protected
|
||
|
comment: '# * The console command signature.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @var string'
|
||
|
- name: description
|
||
|
visibility: protected
|
||
|
comment: '# * The console command description.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @var string'
|
||
|
methods:
|
||
|
- name: handle
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: "# * The console command signature.\n# *\n# * @var string\n# */\n# protected\
|
||
|
\ $signature = 'queue:prune-failed\n# {--hours=24 : The number of hours to retain\
|
||
|
\ failed jobs data}';\n# \n# /**\n# * The console command description.\n# *\n\
|
||
|
# * @var string\n# */\n# protected $description = 'Prune stale entries from the\
|
||
|
\ failed jobs table';\n# \n# /**\n# * Execute the console command.\n# *\n# * @return\
|
||
|
\ int|null"
|
||
|
traits:
|
||
|
- Illuminate\Console\Command
|
||
|
- Illuminate\Queue\Failed\PrunableFailedJobProvider
|
||
|
- Illuminate\Support\Carbon
|
||
|
- Symfony\Component\Console\Attribute\AsCommand
|
||
|
interfaces: []
|