You are here

public function JobEvent::__construct in Advanced Queue 8

Constructs a new JobEvent object.

Parameters

\Drupal\advancedqueue\Job $job: The job.

File

src/Event/JobEvent.php, line 28

Class

JobEvent
Defines the job event.

Namespace

Drupal\advancedqueue\Event

Code

public function __construct(Job $job) {
  $this->job = $job;
}