| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class Header |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | private $name; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | private $value; |
||
| 16 | |||
| 17 | public function __construct(string $name, string $value) |
||
| 18 | { |
||
| 19 | $this->name = $name; |
||
| 20 | $this->value = $value; |
||
| 21 | 3 | } |
|
| 22 | |||
| 23 | 3 | public function getName(): string |
|
| 24 | 3 | { |
|
| 25 | 3 | return $this->name; |
|
| 26 | } |
||
| 27 | |||
| 28 | public function getValue(): string |
||
| 31 | } |
||
| 32 | } |
||
| 33 |