Completed
Push — feature/fixing_cost ( 414fbf...99877f )
by Laurent
01:40
created

Response::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
4
namespace FlightLog\Http\Web\Response;
5
6
7
final class Response
8
{
9
10
    /**
11
     * @var string
12
     */
13
    private $content;
14
15
    /**
16
     * @param string $content
17
     */
18
    public function __construct($content)
19
    {
20
        $this->content = $content;
21
    }
22
23
    /**
24
     * @return string
25
     */
26
    public function getTemplate()
27
    {
28
        return $this->content;
29
    }
30
}