seizurePeriodNotations = new ArrayCollection(); } public function getId(): ?int { return $this->id; } public function getEducation(): ?Education { return $this->education; } public function setEducation(?Education $education): self { $this->education = $education; return $this; } public function getTeacher(): ?Access { return $this->teacher; } public function setTeacher(?Access $teacher): self { $this->teacher = $teacher; return $this; } /** * @return Collection */ public function getSeizurePeriodNotations(): Collection { return $this->seizurePeriodNotations; } public function addSeizurePeriodNotation(SeizurePeriodNotation $seizurePeriodNotation): self { if (!$this->seizurePeriodNotations->contains($seizurePeriodNotation)) { $this->seizurePeriodNotations[] = $seizurePeriodNotation; $seizurePeriodNotation->setEducationTeacher($this); } return $this; } public function removeSeizurePeriodNotation(SeizurePeriodNotation $seizurePeriodNotation): self { if ($this->seizurePeriodNotations->removeElement($seizurePeriodNotation)) { // set the owning side to null (unless already changed) if ($seizurePeriodNotation->getEducationTeacher() === $this) { $seizurePeriodNotation->setEducationTeacher(null); } } return $this; } }