TimestampType
extends Type
in package
TIMESTAMP support for Doctrine
Timezone does not need to be handled here since doctrine converts the timezone between database and internal.
Tags
Table of Contents
Methods
- convertToDatabaseValue() : mixed
- {@inheritdoc}
- convertToPHPValue() : mixed
- {@inheritdoc}
- getName() : mixed
- {@inheritdoc}
- getSqlDeclaration() : mixed
- {@inheritdoc}
Methods
convertToDatabaseValue()
{@inheritdoc}
public
convertToDatabaseValue(mixed $value, AbstractPlatform $platform) : mixed
Parameters
- $value : mixed
- $platform : AbstractPlatform
convertToPHPValue()
{@inheritdoc}
public
convertToPHPValue(mixed $value, AbstractPlatform $platform) : mixed
Parameters
- $value : mixed
- $platform : AbstractPlatform
getName()
{@inheritdoc}
public
getName() : mixed
getSqlDeclaration()
{@inheritdoc}
public
getSqlDeclaration(array<string|int, mixed> $fieldDeclaration, AbstractPlatform $platform) : mixed
Parameters
- $fieldDeclaration : array<string|int, mixed>
- $platform : AbstractPlatform