LockMode   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 5
dl 0
loc 12
ccs 0
cts 2
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
declare(strict_types=1);
4
5
namespace Doctrine\DBAL;
6
7
/**
8
 * Contains all DBAL LockModes.
9
 */
10
class LockMode
11
{
12
    public const NONE              = 0;
13
    public const OPTIMISTIC        = 1;
14
    public const PESSIMISTIC_READ  = 2;
15
    public const PESSIMISTIC_WRITE = 4;
16
17
    /**
18
     * Private constructor. This class cannot be instantiated.
19
     */
20
    final private function __construct()
21
    {
22
    }
23
}
24