endDate; } public function getId(): ?int { return $this->id; } public function getScope(): ?Scope { return $this->scope; } public function getStartDate(): ?\DateTimeImmutable { return $this->startDate; } public function getUser(): User { return $this->user; } public function setEndDate(?\DateTimeImmutable $endDate): self { $this->endDate = $endDate; return $this; } public function setScope(?Scope $scope): User\UserScopeHistory { $this->scope = $scope; return $this; } public function setStartDate(\DateTimeImmutable $startDate): self { $this->startDate = $startDate; return $this; } public function setUser(User $user): User\UserScopeHistory { $this->user = $user; return $this; } }