Skip to content

Commit 76cad50

Browse files
committed
minor #19508 [HttpFoundation] Mention HeaderRequestMatcher and QueryParameterRequestMatcher (alexandre-daubois)
This PR was merged into the 7.1 branch. Discussion ---------- [HttpFoundation] Mention `HeaderRequestMatcher` and `QueryParameterRequestMatcher` Fix #19494, #19495 Requires #19509 Commits ------- 9fddcaf [HttpFoundation] Mention `HeaderRequestMatcher` and `QueryParameterRequestMatcher`
2 parents 71c5335 + 9fddcaf commit 76cad50

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

components/http_foundation.rst

+9-2
Original file line numberDiff line numberDiff line change
@@ -388,17 +388,19 @@ address, it uses a certain HTTP method, etc.):
388388

389389
* :class:`Symfony\\Component\\HttpFoundation\\RequestMatcher\\AttributesRequestMatcher`
390390
* :class:`Symfony\\Component\\HttpFoundation\\RequestMatcher\\ExpressionRequestMatcher`
391+
* :class:`Symfony\\Component\\HttpFoundation\\RequestMatcher\\HeaderRequestMatcher`
391392
* :class:`Symfony\\Component\\HttpFoundation\\RequestMatcher\\HostRequestMatcher`
392393
* :class:`Symfony\\Component\\HttpFoundation\\RequestMatcher\\IpsRequestMatcher`
393394
* :class:`Symfony\\Component\\HttpFoundation\\RequestMatcher\\IsJsonMatcher`
394395
* :class:`Symfony\\Component\\HttpFoundation\\RequestMatcher\\MethodRequestMatcher`
395396
* :class:`Symfony\\Component\\HttpFoundation\\RequestMatcher\\PathRequestMatcher`
396397
* :class:`Symfony\\Component\\HttpFoundation\\RequestMatcher\\PortRequestMatcher`
398+
* :class:`Symfony\\Component\\HttpFoundation\\RequestMatcher\\QueryParameterRequestMatcher`
399+
* :class:`Symfony\\Component\\HttpFoundation\\RequestMatcher\\SchemeRequestMatcher`
397400
* :class:`Symfony\\Component\\HttpFoundation\\RequestMatcher\\SchemeRequestMatcher`
398401

399402
You can use them individually or combine them using the
400-
:class:`Symfony\\Component\\HttpFoundation\\ChainRequestMatcher`
401-
class::
403+
:class:`Symfony\\Component\\HttpFoundation\\ChainRequestMatcher` class::
402404

403405
use Symfony\Component\HttpFoundation\ChainRequestMatcher;
404406
use Symfony\Component\HttpFoundation\RequestMatcher\HostRequestMatcher;
@@ -421,6 +423,11 @@ class::
421423
// ...
422424
}
423425

426+
.. versionadded:: 7.1
427+
428+
The ``HeaderRequestMatcher`` and ``QueryParameterRequestMatcher`` were
429+
introduced in Symfony 7.1.
430+
424431
Accessing other Data
425432
~~~~~~~~~~~~~~~~~~~~
426433

0 commit comments

Comments
 (0)