public function toArray($request): array 	{ 		return [ 			'id' => $this->getKey(), 			'user_id' => $this->user_id, 			'ip_address' => $this->ip_address, 			'host' => $this->ip_address ? gethostbyaddr($this->ip_address) : null, 			'user_agent' => $this->user_agent, 			'last_activity' => formatTimestamp($this->last_activity), 		]; 	}