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.
http://api.symfony.com/4.0/Symfony/Component/HttpFoundation/RequestMatcherInterface.html