Zend\Http\Header\GenericHeader::setFieldName
Set header field name
Signature
public function setFieldName(string
$fieldName )
Parameters
$fieldName
— string
Returns
- GenericHeader
Errors/Exceptions
-
InvalidArgumentException
- If the name does not match with RFC 2616 format.