TimestampType
class TimestampType extends Type implements PhpDateTimeMappingType (View source)
Methods
string
getSQLDeclaration(array $column, AbstractPlatform $platform)
{@inheritdoc}
string
getMySqlPlatformSQLDeclaration(array $column)
Get the SQL declaration for MySQL.
string
getPostgresPlatformSQLDeclaration(array $column)
Get the SQL declaration for PostgreSQL.
string
getSqlServerPlatformSQLDeclaration(array $column)
Get the SQL declaration for SQL Server.
string
getName()
{@inheritdoc}
Details
string
getSQLDeclaration(array $column, AbstractPlatform $platform)
{@inheritdoc}
protected string
getMySqlPlatformSQLDeclaration(array $column)
Get the SQL declaration for MySQL.
protected string
getPostgresPlatformSQLDeclaration(array $column)
Get the SQL declaration for PostgreSQL.
protected string
getSqlServerPlatformSQLDeclaration(array $column)
Get the SQL declaration for SQL Server.
string
getName()
{@inheritdoc}