pock

RegExpBodyMatcher extends AbstractRegExpMatcher
in package
uses SeekableStreamDataExtractor

Applies a PCRE pattern to the complete request body.

Tags
category

RegExpBodyMatcher

Table of Contents

Methods

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

Methods

__construct()

public __construct(string $expression[, int $flags = 0 ]) : mixed
Parameters
$expression : string
$flags : int = 0

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