public function HttpCacheTestCase::getMetaStorageValues

4 calls to HttpCacheTestCase::getMetaStorageValues()
HttpCacheTest::testCachesResponsesWithAMaxAgeDirective in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTest.php
HttpCacheTest::testCachesResponsesWithAnExpirationHeader in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTest.php
HttpCacheTest::testCachesResponsesWithASMaxAgeDirective in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTest.php
HttpCacheTest::testFetchesFullResponseWhenCacheStaleAndNoValidatorsPresent in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTest.php

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTestCase.php, line 131

Class

HttpCacheTestCase

Namespace

Symfony\Component\HttpKernel\Tests\HttpCache

Code

public function getMetaStorageValues() {
  $values = array();
  foreach (new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator(sys_get_temp_dir() . '/http_cache/md', \RecursiveDirectoryIterator::SKIP_DOTS), \RecursiveIteratorIterator::LEAVES_ONLY) as $file) {
    $values[] = file_get_contents($file);
  }
  return $values;
}