| 1 | <?php |
||
| 10 | trait HeadersLoaderTrait |
||
| 11 | { |
||
| 12 | private static function parseHeaders(string $string): array |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Checks if it is a header definition line. Useful for distguishing between header definitions |
||
| 42 | * and possible continuations of a header entry. |
||
| 43 | */ |
||
| 44 | private static function isHeaderDefinition(string $line): bool |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Normalize a string. |
||
| 51 | */ |
||
| 52 | private static function convertString(string $value): string |
||
| 56 | } |
||
| 57 |