Method | Description | |
---|---|---|
addBody ( raml\BodyInterface $body ) | Add a body | |
addHeader ( raml\NamedParameter $header ) | Add a new header | |
getBodies ( ) : array | Get an array of all bodies | |
getBodyByType ( string $type ) : raml\BodyInterface | Get the body by type | |
getHeaders ( ) : raml\NamedParameter[] | Returns the headers |
public addBody ( raml\BodyInterface $body ) | ||
$body | raml\BodyInterface |
public addHeader ( raml\NamedParameter $header ) | ||
$header | raml\NamedParameter |
public getBodyByType ( string $type ) : raml\BodyInterface | ||
$type | string | |
return | raml\BodyInterface |
public getHeaders ( ) : raml\NamedParameter[] | ||
return | raml\NamedParameter[] |