billingIntangibleExcludeDates = new ArrayCollection(); } public function setAccess(?Access $access): self { $this->access = $access; return $this; } public function getAccess(): ?Access { return $this->access; } /** * @return Collection */ public function getBillingIntangibleExcludeDates(): Collection { return $this->billingIntangibleExcludeDates; } public function addBillingIntangibleExcludeDate(BillingIntangibleExcludeDate $billingIntangibleExcludeDate): self { if (!$this->billingIntangibleExcludeDates->contains($billingIntangibleExcludeDate)) { $this->billingIntangibleExcludeDates[] = $billingIntangibleExcludeDate; $billingIntangibleExcludeDate->setAccessIntangible($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->getAccessIntangible() === $this) { $billingIntangibleExcludeDate->setAccessIntangible(null); } } return $this; } }