> * @phpstan-type NgtSetting array{ * tab?: string, * option_key?: string, * default: NgtSettingValue, * label: string, * type: string, * description?: string, * placeholder?: string, * shortcode?: bool, * option?: bool, * options?: array, * depends?: NgtDependsSetting * } */ class SettingValidator { public string $option_key; /** * Default for the setting * * @var NgtSettingValue */ public $default; /** * Special UI for the setting, e.g. 'image_upload' */ public ?string $ui; /** * Whether the setting should get an UI element generated. */ public bool $option = true; /** * Whether the setting is a shortcode attribute (ARVE) */ public bool $shortcode; public string $tab; public string $category; public string $label; /** * The type of the setting * * @var 'string' | 'integer' | 'boolean' */ public string $type; public ?string $placeholder; public ?string $description; /** * Options for