public function StreamedResponseTest::testSetContent in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/StreamedResponseTest.php \Symfony\Component\HttpFoundation\Tests\StreamedResponseTest::testSetContent()
@expectedException \LogicException
File
- vendor/
symfony/ http-foundation/ Tests/ StreamedResponseTest.php, line 102
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testSetContent() {
$response = new StreamedResponse(function () {
echo 'foo';
});
$response
->setContent('foo');
}