who = $who; $this->at = $at; $this->till = $till; } public function getId(): ?int { return $this->id; } public function getWho(): string { return $this->who; } public function getAt(): \DateTimeImmutable { return $this->at; } public function getTill(): \DateTimeImmutable { return $this->till; } }