Zend\Http\Header\HeaderInterface::fromString
Factory to generate a header object from a string
Signature
public function fromString(string
$headerLine )
Parameters
$headerLine
— string
Returns
- self
Errors/Exceptions
-
InvalidArgumentException
- If the header does not match RFC 2616 definition.