requirements; } public function addRequirement(Requirement $requirement): static { if(!$this->requirements->contains($requirement)) { $this->requirements->add($requirement); $requirement->setMission($this); } return $this; } public function removeRequirement(Requirement $requirement): static { if($this->requirements->removeElement($requirement)) { if($requirement->getMission() === $this) { $requirement->setMission(null); } } return $this; } public function getEmployeemissions(): Collection { return $this->employeemissions; } public function setEmployeemissions(Collection $employeemissions): void { $this->employeemissions = $employeemissions; } public function getId(): ?int { return $this->id; } public function setId(int $id): static { $this->id = $id; return $this; } public function getLabel(): ?string { return $this->label; } public function setLabel(string $label): static { $this->label = $label; return $this; } public function getEmployee(): ?employee { return $this->employee; } public function setEmployee(?employee $employee): void { $this->employee = $employee; } public function getCategories(): Collection { return $this->categories; } public function setCategories(Collection $categories): void { $this->categories = $categories; } public function getRide(): ?Ride { return $this->ride; } public function setRide(?Ride $ride): void { $this->ride = $ride; } public function getMissionCategorie(): Collection { return $this->missionCategories; } public function addMissionCategory(MissionCategory $missionCategory): static { if(!$this->missionCategories->contains($missionCategory)) { $this->missionCategories->add($missionCategory); $missionCategory->setMission($this); } return $this; } public function removeMissionCategory(MissionCategory $missionCategory): static { if($this->missionCategories->removeElement($missionCategory)) { if($missionCategory->getMission() === $this) { $missionCategory->setMission(null); } } return $this; } }