Completed
Push — master ( b487f1...492d4a )
by Roberto
06:15 queued 03:26
created

Epson::setPrintMode()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 5
Bugs 0 Features 0
Metric Value
c 5
b 0
f 0
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 1
nc 1
nop 1
crap 1
1
<?php
2
3
namespace Posprint\Printers;
4
5
/**
6
 * Epson class for POS printers.
7
 * Model: TM-T20
8
 *
9
 * @category  NFePHP
10
 * @package   Posprint
11
 * @copyright Copyright (c) 2016
12
 * @license   http://www.gnu.org/licenses/lesser.html LGPL v3
13
 * @author    Roberto L. Machado <linux.rlm at gmail dot com>
14
 * @link      http://github.com/nfephp-org/posprint for the canonical source repository
15
 */
16
17
use Posprint\Printers\DefaultPrinter;
18
use Posprint\Printers\PrinterInterface;
19
20
final class Epson extends DefaultPrinter implements PrinterInterface
21
{
22
    /**
23
     * Select printer mode
24
     *
25
     * @param string $mode
26
     */
27 20
    public function setPrintMode($mode = null)
28
    {
29
        //not used for this printer
30 20
    }
31
}
32