cookie; } public function setCookie(?string $cookie): self { $this->cookie = $cookie; return $this; } public function getLastAccess(): ?\DateTimeInterface { return $this->lastAccess; } public function setLastAccess(\DateTimeInterface $lastAccess): self { $this->lastAccess = $lastAccess; return $this; } public function getIp(): ?string { return $this->ip; } public function setIp(?string $ip): self { $this->ip = $ip; return $this; } public function getTotalVisit(): ?int { return $this->totalVisit; } public function setTotalVisit(int $totalVisit): self { $this->totalVisit = $totalVisit; return $this; } }