billingIntangibleExcludeDates = new ArrayCollection(); } public function getId(): ?int { return $this->id; } public function getAccess(): ?Access { return $this->access; } public function setAccess(?Access $access): self { $this->access = $access; return $this; } public function getAccessFamily(): ?AccessFamily { return $this->accessFamily; } public function setAccessFamily(?AccessFamily $accessFamily): self { $this->accessFamily = $accessFamily; return $this; } public function getFictionalIntangible(): ?FictionalIntangible { return $this->fictionalIntangible; } public function setFictionalIntangible(?FictionalIntangible $fictionalIntangible): self { $this->fictionalIntangible = $fictionalIntangible; 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->setAccessFictionalIntangible($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->getAccessFictionalIntangible() === $this) { $billingIntangibleExcludeDate->setAccessFictionalIntangible(null); } } return $this; } }