getAge() public method

Returns the age of the response
public getAge ( ) : integer
return integer The age of the response in seconds
Example #1
0
 /**
  * Test Expire
  */
 public function testExpire()
 {
     $this->cacheControl->expire();
     $this->assertEquals(0, $this->cacheControl->getAge());
 }