| Total Complexity | 3 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 50% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 10 | abstract class AbstractParsedHeader |
||
| 11 | { |
||
| 12 | private $name = ''; |
||
| 13 | private $value = ''; |
||
| 14 | |||
| 15 | abstract public function isSecure(): bool; |
||
| 16 | |||
| 17 | 40 | public function __construct(string $name, string $value) |
|
| 18 | { |
||
| 19 | 40 | $this->name = $name; |
|
| 20 | 40 | $this->value = $value; |
|
| 21 | 40 | } |
|
| 22 | |||
| 23 | public function name(): string |
||
| 24 | { |
||
| 25 | return $this->name; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function value(): string |
||
| 31 | } |
||
| 32 | } |
||
| 33 |