startDate = $startDate; $this->endDate = $endDate; } public function getStartDate(): ?Chronos { return $this->startDate; } public function getEndDate(): ?Chronos { return $this->endDate; } public function isEmpty(): bool { return $this->startDate === null && $this->endDate === null; } }