\Zend\Http\Header\Exception\InvalidArgumentException
see \Zend\Http\Header\http://tools.ietf.org/id/draft-abarth-origin-03.html#rfc.section.2

 Methods

__construct()

__construct(string | null $value) 

Parameters

$value

stringnull

Factory to generate a header object from a string

fromString(string $headerLine) : \Zend\Http\Header\self

Parameters

$headerLine

string

Exceptions

\Zend\Http\Header\Exception\InvalidArgumentException If the header does not match RFC 2616 definition.

Returns

\Zend\Http\Header\self

Retrieve header name

getFieldName() : string

Returns

string

Retrieve header value

getFieldValue() : string

Returns

string

Cast to string

toString() : string

Returns in form of "NAME: VALUE"

Returns

string

 Properties

 

$value

$value : string