*/ #[ORM\Column(type: 'json')] private array $config = []; public function __construct(string $type, string $label) { $this->id = Uuid::v7(); $this->type = $type; $this->label = $label; } public function getId(): Uuid { return $this->id; } public function getType(): string { return $this->type; } public function getLabel(): string { return $this->label; } public function setLabel(string $label): void { $this->label = $label; } /** @return array */ public function getConfig(): array { return $this->config; } /** @param array $config */ public function setConfig(array $config): void { $this->config = $config; } }