FieldSpec
A single field parsed from the `--fields` DSL: its PHP type, Doctrine column type, nullability, and any modifiers (length / precision+scale) or relation-enum target. Consumed by the generators to emit properties, columns and accessors.
FieldSpec::__construct()
public function __construct(string $name, string $kind, string $phpType, string $columnType, bool $nullable = false, array $modifiers = [], ?string $target = null):Parameters
| Name | Type | Description |
|---|---|---|
| $name | string | |
| $kind | ('scalar' | 'enum' | 'belongsTo') | |
| $phpType | string | |
| $columnType | string | |
| $nullable | bool | |
| $modifiers | array<string, int> | |
| $target | ?string |