QubitJob
in package
Table of Contents
Constants
- COMPLETED_AT = 'job.completed_at'
- ID = 'job.id'
- NAME = 'job.name'
- OBJECT_ID = 'job.object_id'
- OUTPUT = 'job.output'
- STATUS_ID = 'job.status_id'
- USER_ID = 'job.user_id'
Methods
- runJob() : object|null
- Run a background job.
Constants
COMPLETED_AT
public
mixed
COMPLETED_AT
= 'job.completed_at'
ID
public
mixed
ID
= 'job.id'
NAME
public
mixed
NAME
= 'job.name'
OBJECT_ID
public
mixed
OBJECT_ID
= 'job.object_id'
OUTPUT
public
mixed
OUTPUT
= 'job.output'
STATUS_ID
public
mixed
STATUS_ID
= 'job.status_id'
USER_ID
public
mixed
USER_ID
= 'job.user_id'
Methods
runJob()
Run a background job.
public
static runJob(string $jobClass[, array<string|int, mixed> $options = [] ]) : object|null
In standalone mode, dispatches via the AHG queue system if available, otherwise executes inline.
Parameters
- $jobClass : string
-
Job class name
- $options : array<string|int, mixed> = []
-
Job options
Return values
object|null —Job record