1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
declare(strict_types=1); |
4
|
|
|
|
5
|
|
|
namespace Doctrine\DBAL\Types; |
6
|
|
|
|
7
|
|
|
/** |
8
|
|
|
* Default built-in types provided by Doctrine DBAL. |
9
|
|
|
*/ |
10
|
|
|
final class Types |
11
|
|
|
{ |
12
|
|
|
public const ARRAY = 'array'; |
13
|
|
|
public const BIGINT = 'bigint'; |
14
|
|
|
public const BINARY = 'binary'; |
15
|
|
|
public const BLOB = 'blob'; |
16
|
|
|
public const BOOLEAN = 'boolean'; |
17
|
|
|
public const DATE_MUTABLE = 'date'; |
18
|
|
|
public const DATE_IMMUTABLE = 'date_immutable'; |
19
|
|
|
public const DATEINTERVAL = 'dateinterval'; |
20
|
|
|
public const DATETIME_MUTABLE = 'datetime'; |
21
|
|
|
public const DATETIME_IMMUTABLE = 'datetime_immutable'; |
22
|
|
|
public const DATETIMETZ_MUTABLE = 'datetimetz'; |
23
|
|
|
public const DATETIMETZ_IMMUTABLE = 'datetimetz_immutable'; |
24
|
|
|
public const DECIMAL = 'decimal'; |
25
|
|
|
public const FLOAT = 'float'; |
26
|
|
|
public const GUID = 'guid'; |
27
|
|
|
public const INTEGER = 'integer'; |
28
|
|
|
public const JSON = 'json'; |
29
|
|
|
public const OBJECT = 'object'; |
30
|
|
|
public const SIMPLE_ARRAY = 'simple_array'; |
31
|
|
|
public const SMALLINT = 'smallint'; |
32
|
|
|
public const STRING = 'string'; |
33
|
|
|
public const TEXT = 'text'; |
34
|
|
|
public const TIME_MUTABLE = 'time'; |
35
|
|
|
public const TIME_IMMUTABLE = 'time_immutable'; |
36
|
|
|
|
37
|
|
|
/** @deprecated json_array type is deprecated, use {@see DefaultTypes::JSON} instead. */ |
38
|
|
|
public const JSON_ARRAY = 'json_array'; |
39
|
|
|
|
40
|
|
|
private function __construct() |
41
|
|
|
{ |
42
|
|
|
} |
43
|
|
|
} |
44
|
|
|
|