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.
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