protected function StoreTest::getStoreMetadata in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Tests/HttpCache/StoreTest.php \Symfony\Component\HttpKernel\Tests\HttpCache\StoreTest::getStoreMetadata()
6 calls to StoreTest::getStoreMetadata()
- StoreTest::testOverwritesNonVaryingResponseWithStore in vendor/
symfony/ http-kernel/ Tests/ HttpCache/ StoreTest.php - StoreTest::testReadsAnEmptyArrayWithReadWhenNothingCachedAtKey in vendor/
symfony/ http-kernel/ Tests/ HttpCache/ StoreTest.php - StoreTest::testRemovesEntriesForKeyWithPurge in vendor/
symfony/ http-kernel/ Tests/ HttpCache/ StoreTest.php - StoreTest::testSetsTheXContentDigestResponseHeaderBeforeStoring in vendor/
symfony/ http-kernel/ Tests/ HttpCache/ StoreTest.php - StoreTest::testStoresACacheEntry in vendor/
symfony/ http-kernel/ Tests/ HttpCache/ StoreTest.php
File
- vendor/
symfony/ http-kernel/ Tests/ HttpCache/ StoreTest.php, line 246
Class
Namespace
Symfony\Component\HttpKernel\Tests\HttpCacheCode
protected function getStoreMetadata($key) {
$r = new \ReflectionObject($this->store);
$m = $r
->getMethod('getMetadata');
$m
->setAccessible(true);
if ($key instanceof Request) {
$m1 = $r
->getMethod('getCacheKey');
$m1
->setAccessible(true);
$key = $m1
->invoke($this->store, $key);
}
return $m
->invoke($this->store, $key);
}