public function HttpResponse::setContent in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-feed/src/PubSubHubbub/HttpResponse.php \Zend\Feed\PubSubHubbub\HttpResponse::setContent()
Set body content
Parameters
string $content:
Return value
\Zend\Feed\PubSubHubbub\HttpResponse
File
- vendor/
zendframework/ zend-feed/ src/ PubSubHubbub/ HttpResponse.php, line 181
Class
Namespace
Zend\Feed\PubSubHubbubCode
public function setContent($content) {
$this->content = (string) $content;
$this
->setHeader('content-length', strlen($content));
return $this;
}