protected function StoreTest::storeSimpleEntry 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::storeSimpleEntry()
9 calls to StoreTest::storeSimpleEntry()
- StoreTest::testCanonizesUrlsForCacheKeys in vendor/
symfony/ http-kernel/ Tests/ HttpCache/ StoreTest.php - StoreTest::testDoesNotFindAnEntryWithLookupWhenTheBodyDoesNotExist in vendor/
symfony/ http-kernel/ Tests/ HttpCache/ StoreTest.php - StoreTest::testFindsAStoredEntryWithLookup in vendor/
symfony/ http-kernel/ Tests/ HttpCache/ StoreTest.php - StoreTest::testInvalidatesMetaAndEntityStoreEntriesWithInvalidate in vendor/
symfony/ http-kernel/ Tests/ HttpCache/ StoreTest.php - StoreTest::testRestoresResponseContentFromEntityStoreWithLookup in vendor/
symfony/ http-kernel/ Tests/ HttpCache/ StoreTest.php
File
- vendor/
symfony/ http-kernel/ Tests/ HttpCache/ StoreTest.php, line 234
Class
Namespace
Symfony\Component\HttpKernel\Tests\HttpCacheCode
protected function storeSimpleEntry($path = null, $headers = array()) {
if (null === $path) {
$path = '/test';
}
$this->request = Request::create($path, 'get', array(), array(), array(), $headers);
$this->response = new Response('test', 200, array(
'Cache-Control' => 'max-age=420',
));
return $this->store
->write($this->request, $this->response);
}