interface RequestPatternInterface (View source)

Contract for a request pattern.

Methods

bool
matchRequest(ActionRequest $request)

Matches an ActionRequest against its set pattern rules

Details

bool matchRequest(ActionRequest $request)

Matches an ActionRequest against its set pattern rules

Parameters

ActionRequest $request

The request that should be matched

Return Value

bool

true if the pattern matched, false otherwise