|null */ public $enumType = null; /** @var array */ public $options = []; /** @var string|null */ public $columnDefinition; /** * @var string|null * @psalm-var 'NEVER'|'INSERT'|'ALWAYS'|null * @Enum({"NEVER", "INSERT", "ALWAYS"}) */ public $generated; /** * @param class-string<\BackedEnum>|null $enumType * @param array $options * @psalm-param 'NEVER'|'INSERT'|'ALWAYS'|null $generated */ public function __construct( ?string $name = null, ?string $type = null, ?int $length = null, ?int $precision = null, ?int $scale = null, bool $unique = false, bool $nullable = false, bool $insertable = true, bool $updatable = true, ?string $enumType = null, array $options = [], ?string $columnDefinition = null, ?string $generated = null ) { $this->name = $name; $this->type = $type; $this->length = $length; $this->precision = $precision; $this->scale = $scale; $this->unique = $unique; $this->nullable = $nullable; $this->insertable = $insertable; $this->updatable = $updatable; $this->enumType = $enumType; $this->options = $options; $this->columnDefinition = $columnDefinition; $this->generated = $generated; } }