getCacheExpire() публичный Метод

public getCacheExpire ( ) : integer
Результат integer time-to-live for cached session pages in minutes, this has no effect for nocache limiter. Defaults to 180.
Пример #1
0
 public function testSetCacheExpire()
 {
     $response = new THttpResponse();
     $response->init(null);
     $response->setCacheExpire(300);
     self::assertEquals(300, $response->getCacheExpire());
 }