DbalTypesDetector
Read onlyYes
    FinalYes
Methods
- __construct() : mixed
 - convert() : array<string, Type>
 - Converts Flow Schema to DBAL Types array.
 
Methods
__construct()
    public
                    __construct([TypesMap $typesMap = new TypesMap([]) ]) : mixed
    Parameters
- $typesMap : TypesMap = new TypesMap([])
 
convert()
Converts Flow Schema to DBAL Types array.
    public
                    convert(Schema $schema[, array<string, Type> $typesOverride = [] ]) : array<string, Type>
    Detects types for columns not already provided in $typesOverride.
Parameters
- $schema : Schema
 - $typesOverride : array<string, Type> = []
 - 
                    
column types that take priority
 
Return values
array<string, Type> —Column name => DBAL Type instance