Failed Conditions
Push — master ( d9aaf5...e5fe8c )
by Marco
12s
created

ParameterType   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 42
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 42
ccs 0
cts 1
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
1
<?php
2
3
namespace Doctrine\DBAL;
4
5
/**
6
 * Contains statement parameter types.
7
 */
8
final class ParameterType
9
{
10
    /**
11
     * Represents the SQL NULL data type.
12
     *
13
     * @see \PDO::PARAM_NULL
14
     */
15
    public const NULL = \PDO::PARAM_NULL;
16
17
    /**
18
     * Represents the SQL INTEGER data type.
19
     *
20
     * @see \PDO::PARAM_INT
21
     */
22
    public const INTEGER = \PDO::PARAM_INT;
23
24
    /**
25
     * Represents the SQL CHAR, VARCHAR, or other string data type.
26
     *
27
     * @see \PDO::PARAM_STR
28
     */
29
    public const STRING = \PDO::PARAM_STR;
30
31
    /**
32
     * Represents the SQL large object data type.
33
     *
34
     * @see \PDO::PARAM_LOB
35
     */
36
    public const LARGE_OBJECT = \PDO::PARAM_LOB;
37
38
    /**
39
     * Represents a boolean data type.
40
     *
41
     * @see \PDO::PARAM_BOOL
42
     */
43
    public const BOOLEAN = \PDO::PARAM_BOOL;
44
45
    /**
46
     * This class cannot be instantiated.
47
     */
48
    private function __construct()
49
    {
50
    }
51
}
52