Inkcov::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
1
<?php
2
/**
3
 * This file is part of the Ghostscript package
4
 */
5
6
namespace GravityMedia\Ghostscript\Device;
7
8
use GravityMedia\Ghostscript\Ghostscript;
9
use GravityMedia\Ghostscript\Process\Arguments as ProcessArguments;
10
use GravityMedia\Ghostscript\Process\Arguments;
11
12
/**
13
 * @package GravityMedia\Ghostscript\Devices
14
 */
15
class Inkcov extends AbstractDevice
16
{
17
    const POSTSCRIPT_COMMANDS = '';
18
19
    /**
20
     * @param Ghostscript $ghostscript
21
     * @param ProcessArguments $arguments
22
     */
23
    public function __construct(Ghostscript $ghostscript, Arguments $arguments)
24
    {
25
        parent::__construct($ghostscript, $arguments->setArgument('-sDEVICE=inkcov'));
26
    }
27
}
28