EnumType extends Type
Type that maps a TYPE field.
not part of public core API.
Tags
Table of Contents
Constants
- TYPE = 'enum'
Methods
- getName() : string
- Gets the name of this type.
- getSQLDeclaration() : string
- Gets the SQL declaration snippet for a field of this type.
Constants
TYPE
public
mixed
TYPE
= 'enum'
Methods
getName()
Gets the name of this type.
public
getName() : string
Tags
Return values
stringgetSQLDeclaration()
Gets the SQL declaration snippet for a field of this type.
public
getSQLDeclaration(array<string|int, mixed> $fieldDeclaration, AbstractPlatform $platform) : string
Parameters
- $fieldDeclaration : array<string|int, mixed>
-
The field declaration.
- $platform : AbstractPlatform
-
The currently used database platform.