billingIntangibleExcludeDates = new ArrayCollection(); } public function getId(): ?int { return $this->id; } public function getEducationalProject(): ?EducationalProject { return $this->educationalProject; } public function setEducationalProject(?EducationalProject $educationalProject): self { $this->educationalProject = $educationalProject; return $this; } /** * @return Collection */ public function getBillingIntangibleExcludeDates(): Collection { return $this->billingIntangibleExcludeDates; } public function addBillingIntangibleExcludeDate(BillingIntangibleExcludeDate $billingIntangibleExcludeDate): self { if (!$this->billingIntangibleExcludeDates->contains($billingIntangibleExcludeDate)) { $this->billingIntangibleExcludeDates[] = $billingIntangibleExcludeDate; $billingIntangibleExcludeDate->setEducationalProjectIntangible($this); } return $this; } public function removeBillingIntangibleExcludeDate(BillingIntangibleExcludeDate $billingIntangibleExcludeDate): self { if ($this->billingIntangibleExcludeDates->removeElement($billingIntangibleExcludeDate)) { // set the owning side to null (unless already changed) if ($billingIntangibleExcludeDate->getEducationalProjectIntangible() === $this) { $billingIntangibleExcludeDate->setEducationalProjectIntangible(null); } } return $this; } }