| Total Complexity | 1 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | final class ParameterType |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Represents the SQL NULL data type. |
||
| 14 | * |
||
| 15 | * @see \PDO::PARAM_NULL |
||
| 16 | */ |
||
| 17 | public const NULL = 0; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Represents the SQL INTEGER data type. |
||
| 21 | * |
||
| 22 | * @see \PDO::PARAM_INT |
||
| 23 | */ |
||
| 24 | public const INTEGER = 1; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Represents the SQL CHAR, VARCHAR, or other string data type. |
||
| 28 | * |
||
| 29 | * @see \PDO::PARAM_STR |
||
| 30 | */ |
||
| 31 | public const STRING = 2; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Represents the SQL large object data type. |
||
| 35 | * |
||
| 36 | * @see \PDO::PARAM_LOB |
||
| 37 | */ |
||
| 38 | public const LARGE_OBJECT = 3; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Represents a boolean data type. |
||
| 42 | * |
||
| 43 | * @see \PDO::PARAM_BOOL |
||
| 44 | */ |
||
| 45 | public const BOOLEAN = 5; |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Represents a binary string data type. |
||
| 49 | */ |
||
| 50 | public const BINARY = 16; |
||
| 51 | |||
| 52 | /** |
||
| 53 | * This class cannot be instantiated. |
||
| 54 | */ |
||
| 55 | private function __construct() |
||
| 59 |