메소드 | 설명 | |
---|---|---|
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 addHeader ( raml\NamedParameter $header ) | ||
$header | raml\NamedParameter |
public getBodyByType ( string $type ) : raml\BodyInterface | ||
$type | string | |
리턴 | raml\BodyInterface |
public getHeaders ( ) : raml\NamedParameter[] | ||
리턴 | raml\NamedParameter[] |