public function ResponseTest::testIsCacheableWithNoStoreDirective in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/ResponseTest.php \Symfony\Component\HttpFoundation\Tests\ResponseTest::testIsCacheableWithNoStoreDirective()
File
- vendor/
symfony/ http-foundation/ Tests/ ResponseTest.php, line 88
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testIsCacheableWithNoStoreDirective() {
$response = new Response();
$response->headers
->set('cache-control', 'private');
$this
->assertFalse($response
->isCacheable());
}