interface RequestMatcherInterface
Same name in this branch
- 11.1.x vendor/symfony/routing/Matcher/RequestMatcherInterface.php \Symfony\Component\Routing\Matcher\RequestMatcherInterface
RequestMatcherInterface is an interface for strategies to match a Request.
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- interface \Symfony\Component\HttpFoundation\RequestMatcherInterface
Expanded class hierarchy of RequestMatcherInterface
All classes that implement RequestMatcherInterface
12 files declare their use of RequestMatcherInterface
- AttributesRequestMatcher.php in vendor/
symfony/ http-foundation/ RequestMatcher/ AttributesRequestMatcher.php - ExpressionRequestMatcher.php in vendor/
symfony/ http-foundation/ RequestMatcher/ ExpressionRequestMatcher.php - HeaderRequestMatcher.php in vendor/
symfony/ http-foundation/ RequestMatcher/ HeaderRequestMatcher.php - HostRequestMatcher.php in vendor/
symfony/ http-foundation/ RequestMatcher/ HostRequestMatcher.php - IpsRequestMatcher.php in vendor/
symfony/ http-foundation/ RequestMatcher/ IpsRequestMatcher.php
File
-
vendor/
symfony/ http-foundation/ RequestMatcherInterface.php, line 19
Namespace
Symfony\Component\HttpFoundationView source
interface RequestMatcherInterface {
/**
* Decides whether the rule(s) implemented by the strategy matches the supplied request.
*/
public function matches(Request $request) : bool;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
RequestMatcherInterface::matches | public | function | Decides whether the rule(s) implemented by the strategy matches the supplied request. | 12 |