pock

AnyRequestMatcher
in package
implements RequestMatcherInterface

Matches every request, used automatically when a response has no explicit matcher.

Tags
category

AnyRequestMatcher

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
Tags
inheritDoc
Return values
bool
On this page

Search results