ContentMD5
in package
implements
HeaderInterface
Tags
Table of Contents
Interfaces
- HeaderInterface
- Interface for HTTP Header classes.
Properties
- $value : string
Methods
- __construct() : mixed
- fromString() : static
- Factory to generate a header object from a string
- getFieldName() : string
- Retrieve header name
- getFieldValue() : string
- Retrieve header value
- toString() : string
- Cast to string
Properties
$value
protected
string
$value
Methods
__construct()
public
__construct([null|string $value = null ]) : mixed
Parameters
- $value : null|string = null
fromString()
Factory to generate a header object from a string
public
static fromString(string $headerLine) : static
Parameters
- $headerLine : string
Return values
staticgetFieldName()
Retrieve header name
public
getFieldName() : string
Return values
stringgetFieldValue()
Retrieve header value
public
getFieldValue() : string
Return values
stringtoString()
Cast to string
public
toString() : string