pock

FormDataMatcher extends QueryMatcher
in package
Uses SeekableStreamDataExtractor

Class FormDataMatcher

Tags
category

FormDataMatcher

Table of Contents

__construct()  : mixed
QueryMatcher constructor.
matches()  : bool
Returns true if request is matched by this matcher.

Methods

__construct()

QueryMatcher constructor.

public __construct(array<string, mixed> $query) : mixed
Parameters
$query : array<string, mixed>
Return values
mixed

matches()

Returns true if request is matched by this matcher.

public matches(RequestInterface $request) : bool
Parameters
$request : RequestInterface
Tags
inheritDoc
Return values
bool

Search results