null])] private ?\DateTimeImmutable $endDate = null; public function getTitle(): string { return $this->title; } public function setTitle(string $title): void { $this->title = $title; } public function getContent(): string { return $this->content; } public function setContent(string $content): void { $this->content = $content; } public function getStartDate(): ?\DateTimeImmutable { return $this->startDate; } public function setStartDate(?\DateTimeImmutable $startDate): void { $this->startDate = $startDate; } public function getEndDate(): ?\DateTimeImmutable { return $this->endDate; } public function setEndDate(?\DateTimeImmutable $endDate): void { $this->endDate = $endDate; } public function getId(): ?int { return $this->id; } }