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

57 lines
1.3 KiB
YAML

name: QueuedCommand
class_comment: null
dependencies:
- name: Queueable
type: class
source: Illuminate\Bus\Queueable
- name: KernelContract
type: class
source: Illuminate\Contracts\Console\Kernel
- name: ShouldQueue
type: class
source: Illuminate\Contracts\Queue\ShouldQueue
- name: Dispatchable
type: class
source: Illuminate\Foundation\Bus\Dispatchable
properties:
- name: data
visibility: protected
comment: '# * The data to pass to the Artisan command.
# *
# * @var array'
methods:
- name: __construct
visibility: public
parameters:
- name: data
comment: "# * The data to pass to the Artisan command.\n# *\n# * @var array\n# */\n\
# protected $data;\n# \n# /**\n# * Create a new job instance.\n# *\n# * @param\
\ array $data\n# * @return void"
- name: handle
visibility: public
parameters:
- name: kernel
comment: '# * Handle the job.
# *
# * @param \Illuminate\Contracts\Console\Kernel $kernel
# * @return void'
- name: displayName
visibility: public
parameters: []
comment: '# * Get the display name for the queued job.
# *
# * @return string'
traits:
- Illuminate\Bus\Queueable
- Illuminate\Contracts\Queue\ShouldQueue
- Illuminate\Foundation\Bus\Dispatchable
- Dispatchable
interfaces:
- ShouldQueue