public function getJobFromId($id) { $job = $this->database->table($this->table)->where('id', $id)->first(); if ($job) { return new DatabaseJob($this->container, $this, $job, $job->queue); } }