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

QuitCommand   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getID() 0 4 1
A buildPacket() 0 2 1
A getSql() 0 4 1
1
<?php
2
3
namespace Dazzle\MySQL\Command\Concrete;
4
5
use Dazzle\MySQL\Command\Command;
6
7
class QuitCommand extends Command
8
{
9
    public function getID()
10
    {
11
        return self::QUIT;
12
    }
13
14
    public function buildPacket()
15
    {}
16
17
    public function getSql()
18
    {
19
        return '';
20
    }
21
}
22