Class:ObjectType - Superclass: Type Type
⌊ ObjectType
public class ObjectType
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) Converts a value from its PHP representation to its database representation of this type. |
mixed | convertToPHPValue(mixed value, AbstractPlatform platform) Converts a value from its database representation to its PHP representation of this type. |
string | getName() Gets the name of this type. |
void | getSqlDeclaration(array fieldDeclaration, AbstractPlatform platform) Gets the SQL declaration snippet for a field of this type. |
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)
Converts a value from its PHP representation to its database representation of this type.
public mixed convertToPHPValue(mixed value, AbstractPlatform platform)
Converts a value from its database representation to its PHP representation of this type.
public string getName()
Gets the name of this type.
public void getSqlDeclaration(array fieldDeclaration, AbstractPlatform platform)
Gets the SQL declaration snippet for a field of this type.
Type that maps a PHP object to a clob SQL type.