You are here

protected function BackendGeneralTestCase::refreshRequestTime in Supercache 2.0.x

Same name and namespace in other branches
  1. 8 src/Tests/Generic/Cache/BackendGeneralTestCase.php \Drupal\supercache\Tests\Generic\Cache\BackendGeneralTestCase::refreshRequestTime()

Summary of refreshRequestTime

Parameters

mixed $backend :

1 call to BackendGeneralTestCase::refreshRequestTime()
BackendExpireTests::testExpirations in src/Tests/Generic/Cache/BackendExpireTests.php
Test the saving and restoring of a string.

File

src/Tests/Generic/Cache/BackendGeneralTestCase.php, line 137

Class

BackendGeneralTestCase
Testea funciones basicas.

Namespace

Drupal\supercache\Tests\Generic\Cache

Code

protected function refreshRequestTime($backend) {
  if ($backend instanceof \Drupal\supercache\Cache\CacheRawBackendInterface) {
    $backend
      ->refreshRequestTime();
  }
}