Test Failed
Push — master ( 9400f7...aee647 )
by Jairo
02:19
created

HttpResponseParser   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A setHttpHeader() 0 4 1
1
<?php
2
/**
3
 * Author: bfunky
4
 */
5
6
namespace BFunky\HttpParser;
7
8
9
use BFunky\HttpParser\Entity\HttpResponseHeader;
10
11
class HttpResponseParser extends AbstractHttpParser
12
{
13
    /**
14
     * @param string $method
15
     * @param string $path
16
     * @param string $protocol
17
     */
18
    protected function setHttpHeader(string $method, string $path, string $protocol)
19
    {
20
        $this->httpHeader = new HttpResponseHeader($method, $path, $protocol);
21
    }
22
}