Completed
Pull Request — develop (#2)
by Sebastian
02:16
created

Header::getValue()   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 0
1
<?php
2
namespace DjThossi\SmokeTestingPhp\ValueObject;
3
4
class Header
5
{
6
    /**
7
     * @var HeaderKey
8
     */
9
    private $key;
10
11
    /**
12
     * @var HeaderValue
13
     */
14
    private $value;
15
16
    /**
17
     * @param HeaderKey $key
18
     * @param HeaderValue $value
19
     */
20
    public function __construct(HeaderKey $key, HeaderValue $value)
21
    {
22
        $this->key = $key;
23
        $this->value = $value;
24
    }
25
26
    /**
27
     * @return HeaderKey
28
     */
29
    public function getKey()
30
    {
31
        return $this->key;
32
    }
33
34
    /**
35
     * @return HeaderValue
36
     */
37
    public function getValue()
38
    {
39
        return $this->value;
40
    }
41
}
42