File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
99## [ 1.13.0] - tomorrow
1010
1111- Added ` Formatter::formatResponseForRequest() `
12+ - Deprecated ` Formatter::formatResponse() `
1213
1314## [ 1.12.0] - 2021-08-29
1415
Original file line number Diff line number Diff line change 99 * Formats a request and/or a response as a string.
1010 *
1111 * @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
12- *
12+ *
1313 * @method string formatResponseForRequest(ResponseInterface $response, RequestInterface $request) Formats a response in context of its request.
1414 */
1515interface Formatter
@@ -22,6 +22,8 @@ interface Formatter
2222 public function formatRequest (RequestInterface $ request );
2323
2424 /**
25+ * @deprecated since 1.13, use formatResponseForRequest() instead
26+ *
2527 * Formats a response.
2628 *
2729 * @return string
You can’t perform that action at this time.
0 commit comments