| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 23 | class TrailerHeader extends Header |
||
| 24 | { |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | private string $value; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Constructor of the class |
||
| 33 | * |
||
| 34 | * @param string $value |
||
| 35 | * |
||
| 36 | * @throws InvalidHeaderValueException |
||
| 37 | * If the value isn't valid. |
||
| 38 | */ |
||
| 39 | 7 | public function __construct(string $value) |
|
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * {@inheritdoc} |
||
| 48 | */ |
||
| 49 | 5 | public function getFieldName(): string |
|
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * {@inheritdoc} |
||
| 56 | */ |
||
| 57 | 3 | public function getFieldValue(): string |
|
| 62 |