Completed
Push — master ( 21bf70...cc5276 )
by Kamil
05:50
created

AuthCommand   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getID() 0 4 1
A buildPacket() 0 2 1
1
<?php
2
3
namespace Dazzle\MySQL\Command\Concrete;
4
5
use Dazzle\MySQL\Command\Command;
6
7
class AuthCommand extends Command
8
{
9
    /**
10
     * @override
11
     * @inheritDoc
12
     */
13
    public function getID()
14
    {
15
        return self::INIT_AUTHENTICATE;
16
    }
17
18
    /**
19
     * @override
20
     * @inheritDoc
21
     */
22
    public function buildPacket()
23
    {}
24
}
25