id; } public function setId(int $id): self { $this->id = $id; return $this; } public function getOrganization(): Organization { return $this->organization; } public function setOrganization(Organization $organization): self { $this->organization = $organization; return $this; } public function getScheduleDates(): Collection { return $this->scheduleDates; } public function addScheduleDate(BillScheduleDate $scheduleDate): self { if (!$this->scheduleDates->contains($scheduleDate)) { $this->scheduleDates[] = $scheduleDate; $scheduleDate->setBillSchedule($this); } return $this; } public function removeScheduleDate(BillScheduleDate $scheduleDate): self { if ($this->scheduleDates->removeElement($scheduleDate)) { $scheduleDate->setBillSchedule(null); } return $this; } public function getAccessBilling(): Collection { return $this->accessBilling; } public function addAccessBilling(AccessBilling $accessBilling): self { if (!$this->accessBilling->contains($accessBilling)) { $this->accessBilling[] = $accessBilling; $accessBilling->setBillSchedule($this); } return $this; } public function removeAccessBilling(AccessBilling $accessBilling): self { if ($this->accessBilling->removeElement($accessBilling)) { // $accessBilling->setBillSchedule(null); // TODO: actuellement, pas nullable: conserver? } return $this; } public function getAccessWishes(): Collection { return $this->accessWishes; } public function addAccessWish(AccessWish $accessWish): self { if (!$this->accessWishes->contains($accessWish)) { $this->accessWishes[] = $accessWish; $accessWish->setBillSchedule($this); } return $this; } public function removeAccessWish(AccessWish $accessWish): self { if ($this->accessWishes->removeElement($accessWish)) { // $accessWish->setBillSchedule(null); // TODO: actuellement, pas nullable: conserver? } return $this; } }