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