Class:TimeType - Superclass: Type Type
⌊ TimeType
public class TimeType
extends Type
Fields inherited from Doctrine\DBAL\Types\Type | |
---|---|
BIGINT, BOOLEAN, DATE, DATETIME, DECIMAL, INTEGER, OBJECT, SMALLINT, STRING, TARRAY, TEXT, TIME |
Method Summary | |
---|---|
mixed | convertToDatabaseValue(mixed value, AbstractPlatform platform) {@inheritdoc} |
mixed | convertToPHPValue(mixed value, AbstractPlatform platform) {@inheritdoc} |
string | getName() Gets the name of this type. |
void | getSqlDeclaration(array fieldDeclaration, AbstractPlatform platform) {@inheritdoc} |
Methods inherited from Doctrine\DBAL\Types\Type | |
---|---|
addType, convertToDatabaseValue, convertToPHPValue, getBindingType, getDefaultLength, getName, getSqlDeclaration, getType, getTypesMap, hasType, overrideType |
public mixed convertToDatabaseValue(mixed value, AbstractPlatform platform)
public mixed convertToPHPValue(mixed value, AbstractPlatform platform)
public string getName()
Gets the name of this type.
public void getSqlDeclaration(array fieldDeclaration, AbstractPlatform platform)
Type that maps an SQL TIME to a PHP DateTime object.