Zend\Mail\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 with RFC 2822 definition.