name = $name; $this->value = $value; $this->class = $class; } /** * @inheritDoc */ public function getName(): string { return $this->name; } /** * @inheritDoc */ public function getValue() { return $this->value; } /** * @inheritDoc */ public function getClass(): ?int { return $this->class; } }