\Cake\TestSuite\Constraint\SessionFlashParamEquals

FlashParamEquals

Summary

Methods
Properties
Constants
__construct()
matches()
toString()
No public properties found
No constants found
No protected methods found
$session
$key
$param
$at
N/A
No private methods found
No private properties found
N/A

Properties

$key

$key : string

Type

string

$param

$param : string

Type

string

$at

$at : integer|null

Type

integer|null

Methods

__construct()

__construct(\Cake\Http\Session  $session, string  $key, string  $param, integer  $at = null) 

Constructor

Parameters

\Cake\Http\Session $session

Session

string $key

Flash key

string $param

Param to check

integer $at

Expected index

matches()

matches(mixed  $other) : boolean

Compare to flash message(s)

Parameters

mixed $other

Value to compare with

Returns

boolean

toString()

toString() : string

Assertion message string

Returns

string