Zend\Http\Header\Age
Age HTTP Header
Synopsis
class Age
implements
HeaderInterface
{
- // members
- protected int $deltaSeconds;
- // methods
- public static Age fromString()
- public void __construct()
- public string getFieldName()
- public int getFieldValue()
- public RetryAfter setDeltaSeconds()
- public int getDeltaSeconds()
- public string toString()
Hierarchy
Implements
Members
protected
- $deltaSeconds
—
int
Estimate of the amount of time in seconds since the response
Methods
public
- __construct()
- fromString() — Create Age header from string
- getDeltaSeconds() — Get number of seconds
- getFieldName() — Get header name
- getFieldValue() — Get header value (number of seconds)
- setDeltaSeconds() — Set number of seconds
- toString() — Return header line In case of overflow RFC states to set value of 2147483648 (2^31)