W3cubDocs

/Symfony 4.1

RequestMatcherInterface

interface RequestMatcherInterface

RequestMatcherInterface is an interface for strategies to match a Request.

Methods

bool matches(Request $request)

Decides whether the rule(s) implemented by the strategy matches the supplied request.

Details

bool matches(Request $request)

Decides whether the rule(s) implemented by the strategy matches the supplied request.

Parameters

Request $request

Return Value

bool true if the request matches, false otherwise

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/HttpFoundation/RequestMatcherInterface.html