public function preProcessJob(Job $job) { if ($job instanceof UnserializableJob) { $data = $this->convertJobData($job->getData()); $job = new Job($job->getId(), $data, $this->queue); } return parent::preProcessJob($job); }
public function getJob(Job $previousJob) { $job = parent::getJob($previousJob); $this->currentJob = $job; return $job; }