getString(0), value: $result->getInteger(1), updated: $result->getInteger(2), ); } public function getName(): string { return $this->name; } public function getValue(): int { return $this->value; } public function getUpdatedTime(): int { return $this->updated; } public function getUpdatedAt(): DateTime { return DateTime::fromUnixTimeSeconds($this->updated); } }