You are here

protected function JobCreatorTrait::getExecutor in Apigee Edge 8

Returns the job executor service.

Return value

\Drupal\apigee_edge\JobExecutor The job executor service.

1 call to JobCreatorTrait::getExecutor()
JobCreatorTrait::scheduleJobs in src/Job/JobCreatorTrait.php
Schedules multiple jobs for execution.

File

src/Job/JobCreatorTrait.php, line 35

Class

JobCreatorTrait
A trait for all jobs that create other jobs.

Namespace

Drupal\apigee_edge\Job

Code

protected function getExecutor() : JobExecutor {
  return \Drupal::service('apigee_edge.job_executor');
}