Skip to content

Commit a9b1372

Browse files
committed
Tweaks
1 parent 977eeda commit a9b1372

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

components/http_foundation.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -396,12 +396,12 @@ use the ``isPrivateIp()`` method from the
396396

397397
The ``isPrivateIp()`` method was introduced in Symfony 6.3.
398398

399-
Matching a Request Against a Set Rules
400-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
399+
Matching a Request Against a Set of Rules
400+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
401401

402-
If you need to match a request against a set of rules, you can use
403-
request matchers. The HttpFoundation component provides many matchers
404-
to be used:
402+
The HttpFoundation component provides some matcher classes that allow you to
403+
check if a given request meets certain conditions (e.g. it comes from some IP
404+
address, it uses a certain HTTP method, etc.):
405405

406406
* :class:`Symfony\\Component\\HttpFoundation\\RequestMatcher\\AttributesRequestMatcher`
407407
* :class:`Symfony\\Component\\HttpFoundation\\RequestMatcher\\ExpressionRequestMatcher`
@@ -413,7 +413,7 @@ to be used:
413413
* :class:`Symfony\\Component\\HttpFoundation\\RequestMatcher\\PortRequestMatcher`
414414
* :class:`Symfony\\Component\\HttpFoundation\\RequestMatcher\\SchemeRequestMatcher`
415415

416-
You can either use them directly or combine them using the
416+
You can use them individually or combine them using the
417417
:class:`Symfony\\Component\\HttpFoundation\\ChainRequestMatcher`
418418
class::
419419

0 commit comments

Comments
 (0)