api/laravel/Queue/Console/RestartCommand.yaml
2024-09-26 02:03:21 -07:00

66 lines
1.7 KiB
YAML

name: RestartCommand
class_comment: null
dependencies:
- name: Command
type: class
source: Illuminate\Console\Command
- name: Cache
type: class
source: Illuminate\Contracts\Cache\Repository
- name: InteractsWithTime
type: class
source: Illuminate\Support\InteractsWithTime
- name: AsCommand
type: class
source: Symfony\Component\Console\Attribute\AsCommand
- name: InteractsWithTime
type: class
source: InteractsWithTime
properties:
- name: name
visibility: protected
comment: '# * The console command name.
# *
# * @var string'
- name: description
visibility: protected
comment: '# * The console command description.
# *
# * @var string'
- name: cache
visibility: protected
comment: '# * The cache store implementation.
# *
# * @var \Illuminate\Contracts\Cache\Repository'
methods:
- name: __construct
visibility: public
parameters:
- name: cache
comment: "# * The console command name.\n# *\n# * @var string\n# */\n# protected\
\ $name = 'queue:restart';\n# \n# /**\n# * The console command description.\n\
# *\n# * @var string\n# */\n# protected $description = 'Restart queue worker daemons\
\ after their current job';\n# \n# /**\n# * The cache store implementation.\n\
# *\n# * @var \\Illuminate\\Contracts\\Cache\\Repository\n# */\n# protected $cache;\n\
# \n# /**\n# * Create a new queue restart command.\n# *\n# * @param \\Illuminate\\\
Contracts\\Cache\\Repository $cache\n# * @return void"
- name: handle
visibility: public
parameters: []
comment: '# * Execute the console command.
# *
# * @return void'
traits:
- Illuminate\Console\Command
- Illuminate\Support\InteractsWithTime
- Symfony\Component\Console\Attribute\AsCommand
- InteractsWithTime
interfaces: []