| 1 | <?php |
||
| 14 | class ResponseTransformer |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @param ResponseInterface $response |
||
| 18 | * @param bool|null $onlyHeader If null header not included in response to back compatibility, if true only header return. |
||
| 19 | * @return array |
||
| 20 | * @throws TransformResponseException |
||
| 21 | */ |
||
| 22 | 29 | public function transform(ResponseInterface $response, ?bool $onlyHeader = null): array |
|
| 53 | } |
||
| 54 |