| Total Complexity | 6 | 
| Total Lines | 26 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 14 | final class HeaderFactory  | 
            ||
| 15 | { | 
            ||
| 16 | /**  | 
            ||
| 17 | * Construct header from string.  | 
            ||
| 18 | *  | 
            ||
| 19 | * @param string $header Header field string.  | 
            ||
| 20 | * @return Header Header generated based on the string.  | 
            ||
| 21 | * @throws InvalidHeader If the header is invalid.  | 
            ||
| 22 | */  | 
            ||
| 23 | 22 | public static function fromString(string $header): Header  | 
            |
| 43 |