We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7ac5483 + 2431126 commit 7834713Copy full SHA for 7834713
http_client.rst
@@ -1800,6 +1800,11 @@ The ``MockResponse`` class comes with some helper methods to test the request:
1800
* ``getRequestOptions()`` - returns an array containing other information about
1801
the request such as headers, query parameters, body content etc.
1802
1803
+.. versionadded:: 5.2
1804
+
1805
+ The ``getRequestMethod()`` and ``getRequestUrl()`` methods were introduced
1806
+ in Symfony 5.2.
1807
1808
Usage example::
1809
1810
$mockResponse = new MockResponse('', ['http_code' => 204]);
0 commit comments