EnumType extends Type

Type that maps a TYPE field.

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

Methods

getName()

Gets the name of this type.

public getName() : string
Return values
string

getSQLDeclaration()

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.

Return values
string

        
On this page

Search results