Completed
Pull Request — master (#59)
by Alessandro
06:35
created

CoverageOutputPaths::getXmlPath()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
3
namespace Paraunit\Coverage;
4
5
use Paraunit\Configuration\OutputFile;
6
use Paraunit\Configuration\OutputPath;
7
8
/**
9
 * Class CoverageOutputPaths
10
 * @package Paraunit\Coverage
11
 */
12
class CoverageOutputPaths
13
{
14
    /** @var  OutputFile */
15
    private $cloverFilePath;
16
17
    /** @var  OutputPath */
18
    private $xmlPath;
19
20
    /** @var  OutputPath */
21
    private $htmlPath;
22
23
    /**
24
     * CoverageOutputPaths constructor.
25
     * @param OutputFile $cloverFilePath
26
     * @param OutputPath $xmlPath
27
     * @param OutputPath $htmlPath
28
     */
29 1
    public function __construct(OutputFile $cloverFilePath, OutputPath $xmlPath, OutputPath $htmlPath)
30
    {
31 1
        $this->cloverFilePath = $cloverFilePath;
32 1
        $this->xmlPath = $xmlPath;
33 1
        $this->htmlPath = $htmlPath;
34 1
    }
35
36
    /**
37
     * @return OutputFile
38
     */
39 4
    public function getCloverFilePath()
40
    {
41 4
        return $this->cloverFilePath;
42
    }
43
44
    /**
45
     * @return OutputPath
46
     */
47 4
    public function getXmlPath()
48
    {
49 4
        return $this->xmlPath;
50
    }
51
52
    /**
53
     * @return OutputPath
54
     */
55 4
    public function getHtmlPath()
56
    {
57 4
        return $this->htmlPath;
58
    }
59
}
60