Completed
Push — master ( 06db8f...7dd0ed )
by Francimar
04:19
created

Perto::cutter()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 5
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 1
1
<?php
2
3
namespace Thermal\Profile;
4
5
use Thermal\Printer;
6
7
class Perto extends Elgin
8
{
9 1
    public function cutter($mode)
10
    {
11 1
        $this->getConnection()->write("\eJ\x18\x1dVB(");
12 1
        return $this;
13
    }
14
}
15