TimeType extends TimeType
This custom type extends doctrine native TimeType to allow a formatted string (in "H:i:s") directly, in addition to a DateTimeInterface.
Table of Contents
Methods
- convertToDatabaseValue() : mixed
Methods
convertToDatabaseValue()
public
convertToDatabaseValue(mixed $value, AbstractPlatform $platform) : mixed
Parameters
- $value : mixed
- $platform : AbstractPlatform