1 | <?php |
||
24 | final class BodyAnnotHandler implements AnnotationHandler |
||
25 | { |
||
26 | /** |
||
27 | * Sets the request method as 'json' and adds a parameter handler for body json data |
||
28 | * |
||
29 | * @param AbstractAnnotation $annotation The annotation to handle |
||
30 | * @param ServiceMethodBuilder $serviceMethodBuilder Used to construct a [@see ServiceMethod] |
||
31 | * @param Converter|RequestBodyConverter $converter Converter used to convert types before sending to service method |
||
32 | * @param int|null $index The position of the parameter or null if annotation does not reference parameter |
||
33 | * @return void |
||
34 | * @throws \InvalidArgumentException |
||
35 | */ |
||
36 | 5 | public function handle( |
|
52 | } |
||
53 |