Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Raml
Response
addBody
Raml\Response::addBody PHP Method
Response Class Documentation
Mostra file
Open project: alecsammon/php-raml-parser
addBody()
public
method
Add a new body
public
addBody
(
raml\BodyInterface
$body
)
$body
raml\BodyInterface
public function addBody(BodyInterface $body) { $this->bodyList[$body->getMediaType()] = $body; }
Response
__construct
addBody
addHeader
createFromArray
getBodies
getBodyByType
getDescription
getHeaders
getStatusCode
getTypes
setDescription