FieldParser
Parses the `--fields` DSL (`name:type[:mods]`, comma-separated; leading `?` = nullable) into a list of {@see FieldSpec}. Supports scalars (+ length / precision,scale mods), `enum:<Enum>`, and `<name>:belongsTo:<Target>` (ManyToOne). Throws on any unrecognised token.
FieldParser::parse()
public function parse(string $dsl): arrayParses the full `--fields` DSL string into a list of {@see FieldSpec}.
Parameters
| Name | Type | Description |
|---|---|---|
| $dsl | string |