public function push(JobInterface $job, array $options = []) { $this->checkConnected(); $id = $this->client->addJob($this->name, $this->marshaler->marshal($job), $options); $job->setId($id); return $job; }