value = $value; } public function getValue(): float { return $this->value; } }