class Illuminate / Database / DBAL / TimestampType
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

TimestampType

Extends

    Doctrine\...\Type

Implements

  • Doctrine\...\PhpDateTimeMappingType

Methods

public

getSQLDeclaration ( array $column , Doctrine\...\AbstractPlatform $platform ) : void

{@inheritdoc}

protected

getMySqlPlatformSQLDeclaration ( array $column ) : string

Get the SQL declaration for MySQL.

Parameters

  • $column array
protected

getPostgresPlatformSQLDeclaration ( array $column ) : string

Get the SQL declaration for PostgreSQL.

Parameters

  • $column array
protected

getSqlServerPlatformSQLDeclaration ( array $column ) : string

Get the SQL declaration for SQL Server.

Parameters

  • $column array
public

getName ( ) : string

{@inheritdoc}