AnyRequestMatcher
in package
implements
RequestMatcherInterface
Matches every request, used automatically when a response has no explicit matcher.
Tags
Table of Contents
Interfaces
- RequestMatcherInterface
- Contract for reusable request matching rules registered through PockBuilder::addMatcher().
Methods
- matches() : bool
- Return true when the request satisfies this rule.
Methods
matches()
Return true when the request satisfies this rule.
public
matches(RequestInterface $request) : bool
Parameters
- $request : RequestInterface