We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b5dd81 commit 6f34889Copy full SHA for 6f34889
src/Collector/Formatter.php
@@ -65,6 +65,15 @@ public function formatRequest(RequestInterface $request)
65
return $this->formatter->formatRequest($request);
66
}
67
68
+ public function formatResponseForRequest(ResponseInterface $response, RequestInterface $request)
69
+ {
70
+ if (method_exists($this->formatter, 'formatResponseForRequest')) {
71
+ return $this->formatter->formatResponseForRequest($response, $request);
72
+ }
73
+
74
+ return $this->formatter->formatResponse($response);
75
76
77
/**
78
* {@inheritdoc}
79
*/
0 commit comments