Passed
Push — 9.0-dev ( bf3f06...4f14a6 )
by Radu
01:13
created

AbstractResponse   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A setContent() 0 3 1
1
<?php
2
namespace WebServCo\Framework;
3
4
abstract class AbstractResponse
5
{
6
    protected $content;
7
    protected $statusCode;
8
    
9
    public function setContent($content)
10
    {
11
        $this->content = (string) $content;
12
    }
13
}
14