endDate; } public function getId(): ?int { return $this->id; } public function getPeriod(): AccompanyingPeriod { return $this->period; } public function getStartDate(): ?\DateTimeImmutable { return $this->startDate; } public function getStep(): string { return $this->step; } public function setEndDate(?\DateTimeImmutable $endDate): self { $this->endDate = $endDate; return $this; } /** * @internal use AccompanyingPeriod::addLocationHistory */ public function setPeriod(AccompanyingPeriod $period): self { $this->period = $period; return $this; } public function setStartDate(?\DateTimeImmutable $startDate): self { $this->startDate = $startDate; return $this; } public function setStep(string $step): AccompanyingPeriodStepHistory { $this->step = $step; return $this; } public function getClosingMotive(): ?ClosingMotive { return $this->closingMotive; } public function setClosingMotive(?ClosingMotive $closingMotive): self { $this->closingMotive = $closingMotive; return $this; } }