Interface MultipleHeaderInterface

Summary

Fully Qualified Name: Laminas\Http\Header\MultipleHeaderInterface
Extends: HeaderInterface

Description

Methods

Name Description Defined By
fromString() Factory to generate a header object from a string HeaderInterface
getFieldName() Retrieve header name HeaderInterface
getFieldValue() Retrieve header value HeaderInterface
toString() Cast to string HeaderInterface
toStringMultipleHeaders() MultipleHeaderInterface

Method Details

fromString()

Factory to generate a header object from a string

Parameter Name Type Description
$headerLine string

Returns: static

getFieldName()

Retrieve header name

Returns: string

getFieldValue()

Retrieve header value

Returns: string

toString()

Cast to string

Returns in form of "NAME: VALUE"

Returns: string

toStringMultipleHeaders()

Parameter Name Type Description
$headers

Returns: void

Top