Flow PHP

DbalTypesDetector

Read onlyYes
FinalYes

Methods

__construct()  : mixed
convert()  : array<string, Type>
Converts Flow Schema to DBAL Types array.

Methods

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


        
On this page

Search results