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

WriteRowsDTO   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getType() 0 3 1
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
}