Age HTTP Header

link http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.6

 Methods

Create Age header from string

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

Parameters

$headerLine

string

Exceptions

\Zend\Http\Header\Exception\InvalidArgumentException

Returns

Get number of seconds

getDeltaSeconds() : int

Returns

int

Get header name

getFieldName() : string

Returns

string

Get header value (number of seconds)

getFieldValue() : int

Returns

int

Set number of seconds

setDeltaSeconds(int $delta) : \Zend\Http\Header\RetryAfter

Parameters

$delta

int

Returns

Return header line In case of overflow RFC states to set value of 2147483648 (2^31)

toString() : string

Returns

string

 Properties

 

Estimate of the amount of time in seconds since the response

$deltaSeconds : int