public function Job::setPayload in Advanced Queue 8
Sets the job payload.
Parameters
array $payload: The job payload.
Return value
$this
File
- src/
Job.php, line 246
Class
- Job
- Represents a job.
Namespace
Drupal\advancedqueueCode
public function setPayload(array $payload) {
$this->payload = $payload;
return $this;
}