Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | public function getBody() |
||
23 | { |
||
24 | $json = JsonFactory::create(); |
||
25 | $post = PostFactory::create(); |
||
26 | $formData = FormDataFactory::create(); |
||
27 | $urlEncode = FormUrlEncodedFactory::create(); |
||
28 | $textPlain = TextPlainFactory::create(); |
||
29 | $xml = XmlFactory::create(); |
||
30 | |||
31 | $json->next($formData); |
||
32 | $formData->next($urlEncode); |
||
33 | $urlEncode->next($textPlain); |
||
34 | $textPlain->next($xml); |
||
35 | $xml->next($post); |
||
36 | |||
37 | return $json->handle($this->server); |
||
38 | } |
||
39 | } |