public function setJobs(array $jobs) { foreach ($jobs as $job) { $this->addJob($job); } return $this; }