ResponseContainsHeader
extends Constraint
in package
Class ResponseContainsHeader.
Table of Contents
- $string : string
- __construct() : mixed
- toString() : string
- fail() : void
- failureDescription() : string
- matches() : bool
Properties
$string
private
string
$string
Methods
__construct()
public
__construct(string $string) : mixed
Parameters
- $string : string
Return values
mixed —toString()
public
toString() : string
Return values
string —fail()
protected
fail(mixed $other, mixed $description[, ComparisonFailure $comparisonFailure = null ]) : void
Parameters
- $other : mixed
- $description : mixed
- $comparisonFailure : ComparisonFailure = null
Return values
void —failureDescription()
protected
failureDescription(mixed $other) : string
Parameters
- $other : mixed
Return values
string —matches()
protected
matches(mixed $other) : bool
Parameters
- $other : mixed