OutputFile   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
eloc 7
c 1
b 0
f 0
dl 0
loc 20
rs 10

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
    public function __construct(string $path, string $content)
12
    {
13
        $this->path = $path;
14
        $this->content = $content;
15
    }
16
17
    public function path(): string
18
    {
19
        return $this->path;
20
    }
21
22
    public function content(): string
23
    {
24
        return $this->content;
25
    }
26
}
27