*/ class Snapshot { protected DateTime $date; protected string $path; public function setDate(DateTime $date): self { $this->date = $date; return $this; } public function getDate(): ? \DateTime { return $this->date; } public function setPath(string $path): self { $this->path = $path; return $this; } public function getPath(): ? string { return $this->path; } }