You are here

public function Job::setType in Advanced Queue 8

Sets the job type.

Parameters

string $type: The job type.

Return value

$this

File

src/Job.php, line 223

Class

Job
Represents a job.

Namespace

Drupal\advancedqueue

Code

public function setType($type) {
  $this->type = $type;
  return $this;
}