PHP 클래스 Barryvdh\Queue\Console\AsyncCommand

상속: extends Illuminate\Console\Command
파일 보기 프로젝트 열기: barryvdh/laravel-async-queue

보호된 프로퍼티들

프로퍼티 타입 설명
$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