File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -396,12 +396,12 @@ use the ``isPrivateIp()`` method from the
396
396
397
397
The ``isPrivateIp() `` method was introduced in Symfony 6.3.
398
398
399
- Matching a Request Against a Set Rules
400
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
399
+ Matching a Request Against a Set of Rules
400
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
401
401
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.) :
405
405
406
406
* :class: `Symfony\\ Component\\ HttpFoundation\\ RequestMatcher\\ AttributesRequestMatcher `
407
407
* :class: `Symfony\\ Component\\ HttpFoundation\\ RequestMatcher\\ ExpressionRequestMatcher `
@@ -413,7 +413,7 @@ to be used:
413
413
* :class: `Symfony\\ Component\\ HttpFoundation\\ RequestMatcher\\ PortRequestMatcher `
414
414
* :class: `Symfony\\ Component\\ HttpFoundation\\ RequestMatcher\\ SchemeRequestMatcher `
415
415
416
- You can either use them directly or combine them using the
416
+ You can use them individually or combine them using the
417
417
:class: `Symfony\\ Component\\ HttpFoundation\\ ChainRequestMatcher `
418
418
class::
419
419
You can’t perform that action at this time.
0 commit comments