comment = new CommentEmbeddable(); } public function getAddress(): ?Address { return $this->address; } public function getComment(): CommentEmbeddable { return $this->comment; } public function getEndDate(): ?DateTimeImmutable { return $this->endDate; } public function getHostPerson(): ?Person { return $this->hostPerson; } public function getHostThirdParty(): ?ThirdParty { return $this->hostThirdParty; } public function getId(): ?int { return $this->id; } public function getPerson(): ?Person { return $this->person; } public function getStartDate(): ?DateTimeImmutable { return $this->startDate; } public function setAddress(?Address $address): self { $this->address = $address; return $this; } public function setComment(CommentEmbeddable $comment): self { $this->comment = $comment; return $this; } public function setEndDate(?DateTimeImmutable $endDate): self { $this->endDate = $endDate; return $this; } public function setHostPerson(?Person $hostPerson): self { $this->hostPerson = $hostPerson; return $this; } public function setHostThirdParty(?ThirdParty $hostThirdParty): self { $this->hostThirdParty = $hostThirdParty; return $this; } public function setPerson(?Person $person): self { $this->person = $person; return $this; } public function setStartDate(DateTimeImmutable $startDate): self { $this->startDate = $startDate; return $this; } }