LockMode::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
eloc 0
dl 0
loc 2
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
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