class Illuminate / Database / DBAL / TimestampType
You are viewing an older version of the documentation. For the latest, please visit master documentation.

TimestampType

Extends

    Doctrine\...\Type

Implements

  • Doctrine\...\PhpDateTimeMappingType

Methods

public

getSQLDeclaration ( array $fieldDeclaration , Doctrine\...\AbstractPlatform $platform ) : string

{@inheritdoc}

protected

getMySqlPlatformSQLDeclaration ( array $fieldDeclaration ) : string

Get the SQL declaration for MySQL.

Parameters

  • $fieldDeclaration array
protected

getPostgresPlatformSQLDeclaration ( array $fieldDeclaration ) : string

Get the SQL declaration for PostgreSQL.

Parameters

  • $fieldDeclaration array
protected

getSqlServerPlatformSQLDeclaration ( array $fieldDeclaration ) : string

Get the SQL declaration for SQL Server.

Parameters

  • $fieldDeclaration array
protected

getSQLitePlatformSQLDeclaration ( array $fieldDeclaration ) : string

Get the SQL declaration for SQLite.

Parameters

  • $fieldDeclaration array
public

getName ( ) : string

{@inheritdoc}