eventRecur = new ArrayCollection(); $this->timeline = new ArrayCollection(); $this->financiers = new ArrayCollection(); $this->files = new ArrayCollection(); $this->educationalProjectIntangibles = new ArrayCollection(); $this->billingReceivers = new ArrayCollection(); $this->billLines = new ArrayCollection(); $this->attendanceBooking = new ArrayCollection(); $this->organizer = new ArrayCollection(); $this->tags = new ArrayCollection(); } public function getDiscr(): ?string { return $this->discr; } public function setDiscr(string $discr): self { $this->discr = $discr; return $this; } /** * @return Collection */ public function getEventRecur(): Collection { return $this->eventRecur; } public function addEventRecur(EducationalProjectRecur $eventRecur): self { if (!$this->eventRecur->contains($eventRecur)) { $this->eventRecur[] = $eventRecur; $eventRecur->setEvent($this); } return $this; } public function removeEventRecur(EducationalProjectRecur $eventRecur): self { if ($this->eventRecur->removeElement($eventRecur)) { // set the owning side to null (unless already changed) if ($eventRecur->getEvent() === $this) { $eventRecur->setEvent(null); } } return $this; } /** * @return Collection */ public function getTimeline(): Collection { return $this->timeline; } public function addTimeline(EducationalProject $timeline): self { if (!$this->timeline->contains($timeline)) { $this->timeline[] = $timeline; $timeline->setParent($this); } return $this; } public function removeTimeline(EducationalProject $timeline): self { if ($this->timeline->removeElement($timeline)) { // set the owning side to null (unless already changed) if ($timeline->getParent() === $this) { $timeline->setParent(null); } } return $this; } public function getParent(): ?self { return $this->parent; } public function setParent(?self $parent): self { $this->parent = $parent; return $this; } public function getOrganization(): ?Organization { return $this->organization; } public function setOrganization(?Organization $organization): self { $this->organization = $organization; return $this; } public function getSilentPartner(): ?Access { return $this->silentPartner; } public function setSilentPartner(?Access $silentPartner): self { $this->silentPartner = $silentPartner; return $this; } public function getPublic(): ?EducationalProjectPublic { return $this->public; } public function setPublic(?EducationalProjectPublic $public): self { $this->public = $public; return $this; } public function getOperationalPartner(): ?Access { return $this->operationalPartner; } public function setOperationalPartner(?Access $operationalPartner): self { $this->operationalPartner = $operationalPartner; return $this; } /** * @return Collection */ public function getFinanciers(): Collection { return $this->financiers; } public function addFinancier(Access $financier): self { if (!$this->financiers->contains($financier)) { $this->financiers[] = $financier; } return $this; } public function removeFinancier(Access $financier): self { $this->financiers->removeElement($financier); return $this; } /** * @return Collection */ public function getFiles(): Collection { return $this->files; } public function addFile(File $file): self { if (!$this->files->contains($file)) { $this->files[] = $file; } return $this; } public function removeFile(File $file): self { $this->files->removeElement($file); return $this; } /** * @return Collection */ public function getEducationalProjectIntangibles(): Collection { return $this->educationalProjectIntangibles; } public function addEducationalProjectIntangible(EducationalProjectIntangible $educationalProjectIntangible): self { if (!$this->educationalProjectIntangibles->contains($educationalProjectIntangible)) { $this->educationalProjectIntangibles[] = $educationalProjectIntangible; $educationalProjectIntangible->setEducationalProject($this); } return $this; } public function removeEducationalProjectIntangible(EducationalProjectIntangible $educationalProjectIntangible): self { if ($this->educationalProjectIntangibles->removeElement($educationalProjectIntangible)) { // set the owning side to null (unless already changed) if ($educationalProjectIntangible->getEducationalProject() === $this) { $educationalProjectIntangible->setEducationalProject(null); } } return $this; } /** * @return Collection */ public function getBillingReceivers(): Collection { return $this->billingReceivers; } public function addBillingReceiver(EducationalProjectPayer $billingReceiver): self { if (!$this->billingReceivers->contains($billingReceiver)) { $this->billingReceivers[] = $billingReceiver; $billingReceiver->setEducationalProjectReceiver($this); } return $this; } public function removeBillingReceiver(EducationalProjectPayer $billingReceiver): self { if ($this->billingReceivers->removeElement($billingReceiver)) { // set the owning side to null (unless already changed) if ($billingReceiver->getEducationalProjectReceiver() === $this) { $billingReceiver->setEducationalProjectReceiver(null); } } return $this; } /** * @return Collection */ public function getBillLines(): Collection { return $this->billLines; } public function addBillLine(BillLine $billLine): self { if (!$this->billLines->contains($billLine)) { $this->billLines[] = $billLine; $billLine->setEducationalProject($this); } return $this; } public function removeBillLine(BillLine $billLine): self { if ($this->billLines->removeElement($billLine)) { // set the owning side to null (unless already changed) if ($billLine->getEducationalProject() === $this) { $billLine->setEducationalProject(null); } } return $this; } /** * @return Collection */ public function getAttendanceBooking(): Collection { return $this->attendanceBooking; } public function addAttendanceBooking(AttendanceBooking $attendanceBooking): self { if (!$this->attendanceBooking->contains($attendanceBooking)) { $this->attendanceBooking[] = $attendanceBooking; $attendanceBooking->setEducationalProject($this); } return $this; } public function removeAttendanceBooking(AttendanceBooking $attendanceBooking): self { if ($this->attendanceBooking->removeElement($attendanceBooking)) { // set the owning side to null (unless already changed) if ($attendanceBooking->getEducationalProject() === $this) { $attendanceBooking->setEducationalProject(null); } } return $this; } public function getPlace(): ?AbstractPlace { return $this->place; } public function setPlace(?AbstractPlace $place): self { $this->place = $place; return $this; } public function getRoom(): ?Room { return $this->room; } public function setRoom(?Room $room): self { $this->room = $room; return $this; } /** * @return Collection */ public function getOrganizer(): Collection { return $this->organizer; } public function addOrganizer(Access $organizer): self { if (!$this->organizer->contains($organizer)) { $this->organizer[] = $organizer; } return $this; } public function removeOrganizer(Access $organizer): self { $this->organizer->removeElement($organizer); 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; } function getEquipments(): Collection { return $this->equipments; } function setEquipments(Collection $equipments): self { $this->equipments = $equipments; return $this; } function getAgeDistribution(): EducationalProjectAge { return $this->ageDistribution; } function setAgeDistribution(EducationalProjectAge $ageDistribution): self { $this->ageDistribution = $ageDistribution; return $this; } }