Symbiote\QueuedJobs\Services\QueuedJobService::queueJob
Adds a job to the queue to be started
Signature
Parameters
$job
—
Symbiote\QueuedJobs\Services\QueuedJob
- The job to start.
$startAfter
—
object
- The date (in Y-m-d H:i:s format) to start execution after
$userId
—
object
- The ID of a user to execute the job as. Defaults to the current user
$queueName
—
object
Returns
- int
Errors/Exceptions
-
ValidationException