jobs[] = $job; } public function getJobs(): array { return $this->jobs; } public function isEmpty(): bool { return empty($this->jobs); } }