pock

AbstractSerializedBodyMatcher
in package
implements RequestMatcherInterface Uses SeekableStreamDataExtractor

Class AbstractSerializedBodyMatcher

Tags
category

AbstractSerializedBodyMatcher

Interfaces, Classes, Traits and Enums

RequestMatcherInterface
Interface RequestMatcherInterface

Table of Contents

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

Methods

__construct()

AbstractSerializedBodyMatcher constructor.

public __construct(array<string|int, mixed> $data) : mixed
Parameters
$data : array<string|int, mixed>
Tags
phpstan-ignore-next-line
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