Completed
Branch master (80ac3a)
by kacper
04:34 queued 51s
created

WriteRowsDTO::getType()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace MySQLReplication\Event\DTO;
4
5
use MySQLReplication\Definitions\ConstEventsNames;
6
7
/**
8
 * Class WriteRowsDTO
9
 * @package MySQLReplication\DTO
10
 */
11
class WriteRowsDTO extends RowsDTO
12
{
13
    /**
14
     * @var string
15
     */
16
    protected $type = ConstEventsNames::WRITE;
17
18
    /**
19
     * @return string
20
     */
21 52
    public function getType()
22
    {
23 52
        return $this->type;
24
    }
25
}