/** * @param Job $job * @return mixed */ public function removedDelayed(Job $job) { if ($job instanceof ContainerAwareJob) { $job->setKernelOptions($this->kernelOptions); } $this->attachRetryStrategy($job); return \ResqueScheduler::removeDelayed($job->queue, \get_class($job), $job->args); }