SchemaColumnDefinitionListener
Event listener to handle additional processing for custom doctrine types.
Table of Contents
Methods
- onSchemaColumnDefinition() : mixed
- Listener for column definition events. This intercepts definitions for custom doctrine types and builds the appropriate Column Object.
- getDatabaseType() : string
- Extract the field type from the definition string
- getEnumerationTableColumnDefinition() : Column
- Build a Doctrine column object for TYPE/TYPE columns.
- getUnquotedEnumerationValues() : array<string|int, mixed>
Methods
onSchemaColumnDefinition()
Listener for column definition events. This intercepts definitions for custom doctrine types and builds the appropriate Column Object.
    public
                    onSchemaColumnDefinition(SchemaColumnDefinitionEventArgs $event) : mixed
    Parameters
- $event : SchemaColumnDefinitionEventArgs
Tags
getDatabaseType()
Extract the field type from the definition string
    protected
                    getDatabaseType(string $typeDefinition) : string
    Parameters
- $typeDefinition : string
Return values
stringgetEnumerationTableColumnDefinition()
Build a Doctrine column object for TYPE/TYPE columns.
    protected
                    getEnumerationTableColumnDefinition(array<string|int, mixed> $tableColumn, AbstractPlatform $platform) : Column
    Parameters
- $tableColumn : array<string|int, mixed>
- $platform : AbstractPlatform
Tags
Return values
ColumngetUnquotedEnumerationValues()
    protected
                    getUnquotedEnumerationValues(string $typeDefinition) : array<string|int, mixed>
    Parameters
- $typeDefinition : string