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

Response   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 24
rs 10
c 0
b 0
f 0
wmc 2
lcom 0
cbo 0

2 Methods

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