protected function JobCreatorTrait::scheduleJob in Apigee Edge 8
Schedules a job for execution.
Parameters
\Drupal\apigee_edge\Job\Job $job: The job shluld be schedules.
1 call to JobCreatorTrait::scheduleJob()
- DeveloperSync::execute in src/
Job/ DeveloperSync.php - Executes this job.
File
- src/
Job/ JobCreatorTrait.php, line 45
Class
- JobCreatorTrait
- A trait for all jobs that create other jobs.
Namespace
Drupal\apigee_edge\JobCode
protected function scheduleJob(Job $job) {
$this
->getExecutor()
->save($job);
}