XmlBodyMatcher
extends BodyMatcher
in package
Uses
SeekableStreamDataExtractor
Class XmlBodyMatcher
Tags
Table of Contents
- $forceTextComparison : bool
- __construct() : mixed
- XmlBodyMatcher constructor.
- matches() : bool
- Returns true if request is matched by this matcher.
Properties
$forceTextComparison
public
static bool
$forceTextComparison
= false
Methods
__construct()
XmlBodyMatcher constructor.
public
__construct(DOMDocument|StreamInterface|resource|string $referenceXml) : mixed
Parameters
- $referenceXml : DOMDocument|StreamInterface|resource|string
Tags
Return values
mixed —matches()
Returns true if request is matched by this matcher.
public
matches(RequestInterface $request) : bool
Parameters
- $request : RequestInterface