public function ResponseTest::testIsCacheableWithSetTtl 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::testIsCacheableWithSetTtl()
File
- vendor/
symfony/ http-foundation/ Tests/ ResponseTest.php, line 95
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testIsCacheableWithSetTtl() {
$response = new Response();
$response
->setTtl(10);
$this
->assertTrue($response
->isCacheable());
}