| Total Complexity | 7 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | trait TDecoding |
||
| 11 | { |
||
| 12 | /** @var ADecoder[] */ |
||
| 13 | protected array $stringDecoders = []; |
||
| 14 | |||
| 15 | 14 | public function addStringDecoding(ADecoder $decoder): self |
|
| 19 | } |
||
| 20 | |||
| 21 | 13 | public function processStringDecode(string $content): string |
|
| 30 | } |
||
| 31 | |||
| 32 | 7 | protected function getStringHeader(string $key, ?string $default = null): ?string |
|
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return array<string, array<string>> |
||
| 40 | */ |
||
| 41 | abstract public function getAllHeaders(): array; |
||
| 42 | } |
||
| 43 |