Namespace Doctrine\DBAL\Types

Classes
ArrayType Type that maps a PHP array to a clob SQL type.
AsciiStringType
BigIntType Type that maps a database BIGINT to a PHP string.
BinaryType Type that maps ab SQL BINARY/VARBINARY to a PHP resource stream.
BlobType Type that maps an SQL BLOB to a PHP resource stream.
BooleanType Type that maps an SQL boolean to a PHP boolean.
DateImmutableType Immutable type of {@see DateType}.
DateIntervalType Type that maps interval string to a PHP DateInterval Object.
DateTimeImmutableType Immutable type of {@see DateTimeType}.
DateTimeType Type that maps an SQL DATETIME/TIMESTAMP to a PHP DateTime object.
DateTimeTzImmutableType Immutable type of {@see DateTimeTzType}.
DateTimeTzType DateTime type saving additional timezone information.
DateType Type that maps an SQL DATE to a PHP Date object.
DecimalType Type that maps an SQL DECIMAL to a PHP string.
FloatType
GuidType Represents a GUID/UUID datatype (both are actually synonyms) in the database.
IntegerType Type that maps an SQL INT to a PHP integer.
JsonType Type generating json objects values
ObjectType Type that maps a PHP object to a clob SQL type.
SimpleArrayType Array Type which can be used for simple values.
SmallIntType Type that maps a database SMALLINT to a PHP integer.
StringType Type that maps an SQL VARCHAR to a PHP string.
TextType Type that maps an SQL CLOB to a PHP string.
TimeImmutableType Immutable type of {@see TimeType}.
TimeType Type that maps an SQL TIME to a PHP DateTime object.
Type The base class for so-called Doctrine mapping types.
TypeRegistry The type registry is responsible for holding a map of all known DBAL types. The types are stored using the flyweight…
Types Default built-in types provided by Doctrine DBAL.
Interfaces
PhpDateTimeMappingType Implementations should map a database type to a PHP DateTimeInterface instance.
PhpIntegerMappingType Implementations should map a database type to a PHP integer.
Exceptions
ConversionException Conversion Exception is thrown when the database to PHP conversion fails.