Completed
Push — master ( 654829...f5b838 )
by arto
09:06
created

XHeaderLine::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
dl 0
loc 5
rs 9.4285
c 1
b 0
f 1
cc 1
eloc 3
nc 1
nop 2
1
<?php
2
/**
3
 * @author: stev leibelt <[email protected]>
4
 * @since: 2016-09-19
5
 */
6
namespace Net\Bazzline\Component\Curl\HeaderLine;
7
8
class XHeaderLine extends AbstractHeaderLine
9
{
10
    /** @var string */
11
    private $prefix;
12
13
    /** @var string */
14
    private $suffix;
15
16
    /**
17
     * XHeaderLine constructor.
18
     *
19
     * @param string $identifier    - e.g. X-My-Headerline
20
     * @param string $value         - e.g. bazzline
21
     */
22
    public function __construct($identifier, $value)
23
    {
24
        $this->prefix   = $identifier;
25
        $this->suffix   = $value;
26
    }
27
28
    protected function prefix()
29
    {
30
        // TODO: Implement prefix() method.
31
    }
32
33
    protected function suffix()
34
    {
35
        // TODO: Implement suffix() method.
36
    }
37
}
38