Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Ergo
Http
ResponseBuilder
setBody
Ergo\Http\ResponseBuilder::setBody PHP Method
ResponseBuilder Class Documentation
Show file
Open project: 99designs/ergo
setBody()
public
method
Sets the body of the response.
public
setBody
(
string
$body
)
$body
string
public function setBody($body) { $this->_body = $body; return $this; }
ResponseBuilder
addHeader
build
cacheControl
created
expires
forbidden
found
methodNotAllowed
moved
notCachable
notFound
notModified
setBody
setStatusCode
view