ResponseHasHeader
extends Constraint
in package
Table of Contents
- $headerName : mixed
- __construct() : mixed
- toString() : string
- {@inheritdoc}
- failureDescription() : string
- matches() : bool
Properties
$headerName
private
mixed
$headerName
Methods
__construct()
public
__construct(string $headerName) : mixed
Parameters
- $headerName : 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