pock

ExactFormDataMatcher extends QueryMatcher
in package
uses SeekableStreamDataExtractor

Matches the complete URL-encoded form field collection without allowing additional fields.

Tags
category

ExactFormDataMatcher

Table of Contents

Methods

__construct()  : mixed
QueryMatcher constructor.
matches()  : bool
Return true when the request satisfies this rule.

Methods

__construct()

QueryMatcher constructor.

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

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