DateTimeType extends DateTimeType
This custom type extends doctrine native DateTimeType to allow a formatted string (in "Y-m-d H:i:s") directly, in addition to a DateTimeInterface.
not part of public core API.
Table of Contents
Methods
- convertToDatabaseValue() : string|null
Methods
convertToDatabaseValue()
public
convertToDatabaseValue(mixed $value, AbstractPlatform $platform) : string|null
Parameters
- $value : mixed
- $platform : AbstractPlatform