Property | Type | Description | |
---|---|---|---|
$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. |
Method | Description | |
---|---|---|
actionRun ( ) : mixed | Run a task by request. | |
actionRunTask ( ) | Run a task without going to queue. |
Method | Description | |
---|---|---|
executeJob ( |
||
getDummyModule ( ) : string | ||
getQueue ( ) : |
Returns the queue component. |
Method | Description | |
---|---|---|
getComponentParamFromRequest ( ) : string |
public actionRunTask ( ) |
protected executeJob ( |
||
$queue | Queue the job located. | |
$job | UrbanIndo\Yii2\Queue\Job | Job to be executed. |
return | array |
protected getQueue ( ) : |
||
return |
public string $queueParamName | ||
return | string |