Completed
Push — master ( 353f9b...9d046b )
by Níckolas Daniel
05:04
created

OutputFile::path()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 1
1
<?php
2
3
namespace PODEntender\Domain\Model\FileProcessing;
4
5
class OutputFile
6
{
7
    private $path;
8
9
    private $content;
10
11 3
    public function __construct(string $path, string $content)
12
    {
13 3
        $this->path = $path;
14 3
        $this->content = $content;
15 3
    }
16
17 3
    public function path(): string
18
    {
19 3
        return $this->path;
20
    }
21
22 3
    public function content(): string
23
    {
24 3
        return $this->content;
25
    }
26
}
27