Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 3 |
CRAP | |
0.00% |
0 / 5 |
| HttpHeader | |
0.00% |
0 / 1 |
|
0.00% |
0 / 3 |
12.00 | |
0.00% |
0 / 5 |
| __construct | |
0.00% |
0 / 1 |
2.00 | |
0.00% |
0 / 3 |
|||
| getName | |
0.00% |
0 / 1 |
2.00 | |
0.00% |
0 / 1 |
|||
| getValue | |
0.00% |
0 / 1 |
2.00 | |
0.00% |
0 / 1 |
|||
| <?php | |
| namespace Luxian\Type; | |
| class HttpHeader | |
| { | |
| /** @var string */ | |
| private $name; | |
| /** @var string */ | |
| private $value; | |
| public function __construct(string $name, string $value) | |
| { | |
| $this->name = $name; | |
| $this->value = $value; | |
| } | |
| public function getName(): string | |
| { | |
| return $this->name; | |
| } | |
| public function getValue(): string | |
| { | |
| return $this->value; | |
| } | |
| } |