public function ResponseTest::testSetClientTtl 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::testSetClientTtl()
File
- vendor/
symfony/ http-foundation/ Tests/ ResponseTest.php, line 378
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testSetClientTtl() {
$response = new Response();
$response
->setClientTtl(10);
$this
->assertEquals($response
->getMaxAge(), $response
->getAge() + 10);
}