ResponseHeaderSame
extends Constraint
in package
Table of Contents
- $expectedValue : mixed
- $headerName : mixed
- __construct() : mixed
- toString() : string
- {@inheritdoc}
- failureDescription() : string
- matches() : bool
Properties
$expectedValue
private
mixed
$expectedValue
$headerName
private
mixed
$headerName
Methods
__construct()
public
__construct(string $headerName, string $expectedValue) : mixed
Parameters
- $headerName : string
- $expectedValue : string
Return values
mixed —toString()
{@inheritdoc}
public
toString() : string
Return values
string —failureDescription()
protected
failureDescription(Response $response) : string
Parameters
- $response : Response
Return values
string —matches()
protected
matches(Response $response) : bool
Parameters
- $response : Response