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

OutputFile   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 3
eloc 7
dl 0
loc 20
ccs 8
cts 8
cp 1
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A path() 0 3 1
A content() 0 3 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