프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$defaultQueue | string | array | The default queue component name or component configuration to use when there is no queue param sent in the request. | |
$enableCsrfValidation | boolean | ||
$queueParamName | string | This will check the parameter of the POST first. If there is no value for the param, then it will check the GET. If there is still no value, then the queue component name will use the defaultQueue. |
메소드 | 설명 | |
---|---|---|
actionRun ( ) : mixed | Run a task by request. | |
actionRunTask ( ) | Run a task without going to queue. |
메소드 | 설명 | |
---|---|---|
executeJob ( |
||
getDummyModule ( ) : string | ||
getQueue ( ) : |
Returns the queue component. |
메소드 | 설명 | |
---|---|---|
getComponentParamFromRequest ( ) : string |
public actionRunTask ( ) |
protected executeJob ( |
||
$queue | Queue the job located. | |
$job | UrbanIndo\Yii2\Queue\Job | Job to be executed. |
리턴 | array |
protected getQueue ( ) : |
||
리턴 |
public string $queueParamName | ||
리턴 | string |