You are here

public function Job::setExpiresTime in Advanced Queue 8

Sets the lease expiration timestamp.

Parameters

int $expires: The lease expiration timestamp.

Return value

$this

File

src/Job.php, line 396

Class

Job
Represents a job.

Namespace

Drupal\advancedqueue

Code

public function setExpiresTime($expires) {
  $this->expires = $expires;
  return $this;
}