id = $id; return $this; } public function getValue(): ?string { if($this->value=="") return $this->default; else return $this->value; } //== FIN DU CODE A NE PAS REGENERER public function getId(): ?string { return $this->id; } public function getTitle(): ?string { return $this->title; } public function setTitle(string $title): self { $this->title = $title; return $this; } public function setValue(?string $value): self { $this->value = $value; return $this; } public function getDefault(): ?string { return $this->default; } public function setDefault(string $default): self { $this->default = $default; return $this; } public function getOrder(): ?string { return $this->order; } public function setOrder(string $order): self { $this->order = $order; return $this; } public function isVisible(): ?bool { return $this->visible; } public function setVisible(bool $visible): self { $this->visible = $visible; return $this; } public function isChangeable(): ?bool { return $this->changeable; } public function setChangeable(bool $changeable): self { $this->changeable = $changeable; return $this; } public function isRequired(): ?bool { return $this->required; } public function setRequired(bool $required): self { $this->required = $required; return $this; } public function getType(): ?string { return $this->type; } public function setType(string $type): self { $this->type = $type; return $this; } public function getGrouped(): ?string { return $this->grouped; } public function setGrouped(string $grouped): self { $this->grouped = $grouped; return $this; } public function getCategory(): ?string { return $this->category; } public function setCategory(string $category): self { $this->category = $category; return $this; } public function getHelp(): ?string { return $this->help; } public function setHelp(string $help): self { $this->help = $help; return $this; } }