RequestMatcherInterface is an interface for strategies to match a Request.
@author Fabien Potencier <fabien@symfony.com>
@api
Expanded class hierarchy of RequestMatcherInterface
All classes that implement RequestMatcherInterface
interface RequestMatcherInterface {
/**
* Decides whether the rule(s) implemented by the strategy matches the supplied request.
*
* @param Request $request The request to check for a match
*
* @return Boolean true if the request matches, false otherwise
*
* @api
*/
public function matches(Request $request);
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RequestMatcherInterface:: |
public | function | Decides whether the rule(s) implemented by the strategy matches the supplied request. | 1 |