educationCurriculums = new ArrayCollection(); $this->cycleByEducations = new ArrayCollection(); $this->courses = new ArrayCollection(); $this->examens = new ArrayCollection(); $this->educationTeachers = new ArrayCollection(); $this->tags = new ArrayCollection(); } public function getId(): ?int { return $this->id; } /** * @return Collection */ public function getEducationCurriculums(): Collection { return $this->educationCurriculums; } public function addEducationCurriculum(EducationCurriculum $educationCurriculum): self { if (!$this->educationCurriculums->contains($educationCurriculum)) { $this->educationCurriculums[] = $educationCurriculum; $educationCurriculum->setEducation($this); } return $this; } public function removeEducationCurriculum(EducationCurriculum $educationCurriculum): self { if ($this->educationCurriculums->removeElement($educationCurriculum)) { // set the owning side to null (unless already changed) if ($educationCurriculum->getEducation() === $this) { $educationCurriculum->setEducation(null); } } return $this; } /** * @return Collection */ public function getCycleByEducations(): Collection { return $this->cycleByEducations; } public function addCycleByEducation(CycleByEducation $cycleByEducation): self { if (!$this->cycleByEducations->contains($cycleByEducation)) { $this->cycleByEducations[] = $cycleByEducation; $cycleByEducation->setEducation($this); } return $this; } public function removeCycleByEducation(CycleByEducation $cycleByEducation): self { if ($this->cycleByEducations->removeElement($cycleByEducation)) { // set the owning side to null (unless already changed) if ($cycleByEducation->getEducation() === $this) { $cycleByEducation->setEducation(null); } } return $this; } public function getEducationCategory(): ?EducationCategory { return $this->educationCategory; } public function setEducationCategory(?EducationCategory $educationCategory): self { $this->educationCategory = $educationCategory; return $this; } public function getEducationComplement(): ?EducationComplement { return $this->educationComplement; } public function setEducationComplement(?EducationComplement $educationComplement): self { $this->educationComplement = $educationComplement; return $this; } /** * @return Collection */ public function getCourses(): Collection { return $this->courses; } public function addCourse(Course $course): self { if (!$this->courses->contains($course)) { $this->courses[] = $course; $course->setEducation($this); } return $this; } public function removeCourse(Course $course): self { if ($this->courses->removeElement($course)) { // set the owning side to null (unless already changed) if ($course->getEducation() === $this) { $course->setEducation(null); } } return $this; } /** * @return Collection */ public function getExamens(): Collection { return $this->examens; } public function addExamen(Examen $examen): self { if (!$this->examens->contains($examen)) { $this->examens[] = $examen; $examen->setEducation($this); } return $this; } public function removeExamen(Examen $examen): self { if ($this->examens->removeElement($examen)) { // set the owning side to null (unless already changed) if ($examen->getEducation() === $this) { $examen->setEducation(null); } } return $this; } /** * @return Collection */ public function getEducationTeachers(): Collection { return $this->educationTeachers; } public function addEducationTeacher(EducationTeacher $educationTeacher): self { if (!$this->educationTeachers->contains($educationTeacher)) { $this->educationTeachers[] = $educationTeacher; $educationTeacher->setEducation($this); } return $this; } public function removeEducationTeacher(EducationTeacher $educationTeacher): self { if ($this->educationTeachers->removeElement($educationTeacher)) { // set the owning side to null (unless already changed) if ($educationTeacher->getEducation() === $this) { $educationTeacher->setEducation(null); } } return $this; } /** * @return Collection */ public function getTags(): Collection { return $this->tags; } public function addTag(Tagg $tag): self { if (!$this->tags->contains($tag)) { $this->tags[] = $tag; } return $this; } public function removeTag(Tagg $tag): self { $this->tags->removeElement($tag); return $this; } public function getEducationNotationConfig(): ?EducationNotationConfig { return $this->educationNotationConfig; } public function setEducationNotationConfig(?EducationNotationConfig $educationNotationConfig): self { $this->educationNotationConfig = $educationNotationConfig; return $this; } }