PHP Класс Barryvdh\Queue\Console\AsyncCommand

Наследование: extends Illuminate\Console\Command
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$description string The console command description.
$name string The console command name.
$worker Illuminate\Queue\Worker The queue worker instance.

Открытые методы

Метод Описание
__construct ( Worker $worker ) : void Create a new queue listen command.
fire ( WorkerOptions $options ) : void Execute the console command.

Защищенные методы

Метод Описание
getArguments ( ) : array Get the console command arguments.
getOptions ( ) : array Get the console command arguments.
processJob ( $connectionName, $id, $options ) Process the job

Описание методов

__construct() публичный Метод

Create a new queue listen command.
public __construct ( Worker $worker ) : void
$worker Illuminate\Queue\Worker
Результат void

fire() публичный Метод

Execute the console command.
public fire ( WorkerOptions $options ) : void
$options Illuminate\Queue\WorkerOptions
Результат void

getArguments() защищенный Метод

Get the console command arguments.
protected getArguments ( ) : array
Результат array

getOptions() защищенный Метод

Get the console command arguments.
protected getOptions ( ) : array
Результат array

processJob() защищенный Метод

Process the job
protected processJob ( $connectionName, $id, $options )

Описание свойств

$description защищенное свойство

The console command description.
protected string $description
Результат string

$name защищенное свойство

The console command name.
protected string $name
Результат string

$worker защищенное свойство

The queue worker instance.
protected Worker,Illuminate\Queue $worker
Результат Illuminate\Queue\Worker