RequestMatcher
in
Match a request.
PSR-7 equivalent of Symfony's RequestMatcher
Tags
Table of Contents
Methods
- matches() : bool
- Decides whether the rule(s) implemented by the strategy matches the supplied request.
Methods
matches()
Decides whether the rule(s) implemented by the strategy matches the supplied request.
public
matches(RequestInterface $request) : bool
Parameters
- $request : RequestInterface
-
The PSR7 request to check for a match
Return values
bool —true if the request matches, false otherwise