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

HttpRequestParser::setHttpHeader()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 3
1
<?php
2
/**
3
 * Author: bfunky
4
 */
5
6
namespace BFunky\HttpParser;
7
8
9
use BFunky\HttpParser\Entity\HttpRequestHeader;
10
11
class HttpRequestParser 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 HttpRequestHeader($method, $path, $protocol);
21
    }
22
}