public function StreamedResponse::setContent in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/StreamedResponse.php \Symfony\Component\HttpFoundation\StreamedResponse::setContent()
Throws
\LogicException when the content is not null
Overrides Response::setContent
File
- vendor/
symfony/ http-foundation/ StreamedResponse.php, line 103
Class
- StreamedResponse
- StreamedResponse represents a streamed HTTP response.
Namespace
Symfony\Component\HttpFoundationCode
public function setContent($content) {
if (null !== $content) {
throw new \LogicException('The content cannot be set on a StreamedResponse instance.');
}
}