public function HttpCacheTestCase::getMetaStorageValues in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/Tests/HttpCache/HttpCacheTestCase.php \Symfony\Component\HttpKernel\Tests\HttpCache\HttpCacheTestCase::getMetaStorageValues()
6 calls to HttpCacheTestCase::getMetaStorageValues()
- HttpCacheTest::testAssignsDefaultTtlWhenResponseHasNoFreshnessInformationAndAfterTtlWasExpired in vendor/
symfony/ http-kernel/ Tests/ HttpCache/ HttpCacheTest.php - HttpCacheTest::testAssignsDefaultTtlWhenResponseHasNoFreshnessInformationAndAfterTtlWasExpiredWithStatus304 in vendor/
symfony/ http-kernel/ Tests/ HttpCache/ HttpCacheTest.php - HttpCacheTest::testCachesResponsesWithAMaxAgeDirective in vendor/
symfony/ http-kernel/ Tests/ HttpCache/ HttpCacheTest.php - HttpCacheTest::testCachesResponsesWithAnExpirationHeader in vendor/
symfony/ http-kernel/ Tests/ HttpCache/ HttpCacheTest.php - HttpCacheTest::testCachesResponsesWithASMaxAgeDirective in vendor/
symfony/ http-kernel/ Tests/ HttpCache/ HttpCacheTest.php
File
- vendor/
symfony/ http-kernel/ Tests/ HttpCache/ HttpCacheTestCase.php, line 128
Class
Namespace
Symfony\Component\HttpKernel\Tests\HttpCacheCode
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;
}