/** * ResqueJob constructor. * @param string $name * @param array $arguments * @param string $id * @param int $delay * @param string $url * @param int $retryCount * @param string $receiptHandle */ public function __construct($name, $arguments, $delay, $url, $id = null, $retryCount = 0, $receiptHandle = null) { parent::__construct($name, $arguments, $retryCount); $this->id = $id; $this->delay = $delay; $this->url = $url; $this->receiptHandle = $receiptHandle; }
public function __construct($name, array $arguments, $priority, $ttr, $id = null, $retryCount = 0, Job $job = null) { parent::__construct($name, $arguments, $retryCount); $this->id = $id; $this->job = $job; $this->priority = $priority; $this->ttr = $ttr; }