Completed
Pull Request — master (#37)
by Eugene
03:12
created

RequestTypes   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 21
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the Tarantool Client package.
7
 *
8
 * (c) Eugene Leonovich <[email protected]>
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace Tarantool\Client;
15
16
final class RequestTypes
17
{
18
    public const OK = 0;
19
    public const SELECT = 1;
20
    public const INSERT = 2;
21
    public const REPLACE = 3;
22
    public const UPDATE = 4;
23
    public const DELETE = 5;
24
    public const AUTHENTICATE = 7;
25
    public const EVALUATE = 8;
26
    public const UPSERT = 9;
27
    public const CALL = 10;
28
    public const EXECUTE = 11;
29
    public const PING = 64;
30
    public const JOIN = 65;
31
    public const SUBSCRIBE = 66;
32
33
    private function __construct()
34
    {
35
    }
36
}
37