getString(0), hash: $result->getString(1), model: $result->getString(2), updated: $result->getInteger(3), ); } public function getUserId(): string { return $this->userId; } public function getHash(): string { return $this->hash; } public function getModel(): string { return $this->model; } public function isClassic(): bool { return $this->model === 'classic'; } public function getUpdatedTime(): int { return $this->updated; } public function getUpdatedAt(): DateTime { return DateTime::fromUnixTimeSeconds($this->updated); } }