Returns the age of the response.
integer The age of the response in seconds
public function getAge() {
if (null !== ($age = $this->headers
->get('Age'))) {
return (int) $age;
}
return max(time() - $this
->getDate()
->format('U'), 0);
}