You are here

public function Job::setId in Advanced Queue 8

Sets the job ID.

Parameters

string $id: The job ID.

Return value

$this

File

src/Job.php, line 175

Class

Job
Represents a job.

Namespace

Drupal\advancedqueue

Code

public function setId($id) {
  $this->id = $id;
  return $this;
}