| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 32 | public function processResponse(HttpResponse $response) |
||
| 33 | { |
||
| 34 | $instanceHeaders = $response->getHeaders(); |
||
| 35 | $this->writeHeader($instanceHeaders); |
||
| 36 | |||
| 37 | http_response_code($response->getResponseCode()); |
||
| 38 | |||
| 39 | $serialized = $response |
||
| 40 | ->getResponseBag() |
||
| 41 | ->process($this->buildNull, $this->onlyString); |
||
| 42 | |||
| 43 | $this->writeData( |
||
| 44 | $this->getFormatter()->process($serialized) |
||
| 45 | ); |
||
| 46 | } |
||
| 47 | } |
||
| 48 |