class TimestampType extends Type (View source)

Methods

getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform)

{@inheritdoc}

string
getMySqlPlatformSQLDeclaration(array $fieldDeclaration)

Get the SQL declaration for MySQL.

string
getPostgresPlatformSQLDeclaration(array $fieldDeclaration)

Get the SQL declaration for PostgreSQL.

string
getSqlServerPlatformSQLDeclaration(array $fieldDeclaration)

Get the SQL declaration for SQL Server.

string
getSQLitePlatformSQLDeclaration(array $fieldDeclaration)

Get the SQL declaration for SQLite.

getName()

{@inheritdoc}

Details

getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform)

{@inheritdoc}

Parameters

array $fieldDeclaration
AbstractPlatform $platform

protected string getMySqlPlatformSQLDeclaration(array $fieldDeclaration)

Get the SQL declaration for MySQL.

Parameters

array $fieldDeclaration

Return Value

string

protected string getPostgresPlatformSQLDeclaration(array $fieldDeclaration)

Get the SQL declaration for PostgreSQL.

Parameters

array $fieldDeclaration

Return Value

string

protected string getSqlServerPlatformSQLDeclaration(array $fieldDeclaration)

Get the SQL declaration for SQL Server.

Parameters

array $fieldDeclaration

Return Value

string

protected string getSQLitePlatformSQLDeclaration(array $fieldDeclaration)

Get the SQL declaration for SQLite.

Parameters

array $fieldDeclaration

Return Value

string

getName()

{@inheritdoc}