ResponseHasCookie
extends Constraint
in package
Table of Contents
- $domain : mixed
- $name : mixed
- $path : mixed
- __construct() : mixed
- toString() : string
- {@inheritdoc}
- failureDescription() : string
- matches() : bool
- getCookie() : Cookie|null
Properties
$domain
private
mixed
$domain
$name
private
mixed
$name
$path
private
mixed
$path
Methods
__construct()
public
__construct(string $name[, string $path = '/' ][, string|null $domain = null ]) : mixed
Parameters
- $name : string
- $path : string = '/'
- $domain : string|null = null
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
Return values
bool —getCookie()
private
getCookie(Response $response) : Cookie|null
Parameters
- $response : Response