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