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