PHP 클래스 Disque\Command\AddJob

상속: extends BaseCommand, implements Disque\Command\CommandInterface, use trait Disque\Command\Argument\ArrayChecker, use trait Disque\Command\Argument\OptionChecker
파일 보기 프로젝트 열기: mariano/disque-php

보호된 프로퍼티들

프로퍼티 타입 설명
$availableArguments array Available command arguments, and their mapping to options
$options array Available command options

공개 메소드들

메소드 설명
getCommand ( ) : string Get command
setArguments ( array $arguments ) Set arguments for the command

메소드 상세

getCommand() 공개 메소드

Get command
public getCommand ( ) : string
리턴 string Command

setArguments() 공개 메소드

The first two values in the $arguments array must be the queue name and the job body. The third value is optional and if present, must be an array with further arguments.
public setArguments ( array $arguments )
$arguments array Arguments

프로퍼티 상세

$availableArguments 보호되어 있는 프로퍼티

Available command arguments, and their mapping to options
protected array $availableArguments
리턴 array

$options 보호되어 있는 프로퍼티

Available command options
protected array $options
리턴 array