| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 28 | class EtagHeader extends Header |
||
| 29 | { |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | private string $value; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Constructor of the class |
||
| 38 | * |
||
| 39 | * @param string $value |
||
| 40 | * |
||
| 41 | * @throws InvalidHeaderValueException |
||
| 42 | * If the value isn't valid. |
||
| 43 | */ |
||
| 44 | 7 | public function __construct(string $value) |
|
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | 4 | public function getFieldName(): string |
|
| 57 | } |
||
| 58 | |||
| 59 | /** |
||
| 60 | * {@inheritdoc} |
||
| 61 | */ |
||
| 62 | 4 | public function getFieldValue(): string |
|
| 67 |