| 1 | <?php | ||
| 21 | class POST extends AbstractAnnotation implements HttpRequest | ||
| 22 | { | ||
| 23 | /** | ||
| 24 | * Returns the type of the annotation (get, post, put, etc) | ||
| 25 | * | ||
| 26 | * @return string | ||
| 27 | */ | ||
| 28 | 2 | public function getType(): string | |
| 32 | |||
| 33 | /** | ||
| 34 | * Returns true if the request type contains a body | ||
| 35 | * | ||
| 36 | * @return bool | ||
| 37 | */ | ||
| 38 | 2 | public function hasBody(): bool | |
| 42 | } | ||
| 43 |