\Cake\TestSuite\Constraint\ConsoleContentsContainRow

ContentsContainRow

Summary

Methods
Properties
Constants
matches()
toString()
failureDescription()
__construct()
No public properties found
No constants found
No protected methods found
$contents
$output
N/A
No private methods found
No private properties found
N/A

Properties

$contents

$contents : string

Type

string

$output

$output : string

Type

string

Methods

matches()

matches(array  $other) : boolean

Checks if contents contain expected

Parameters

array $other

Row

Returns

boolean

toString()

toString() : string

Assertion message

Returns

string

failureDescription()

failureDescription(mixed  $other) : string

Parameters

mixed $other

Expected content

Returns

string

__construct()

__construct(integer  $contents, string  $output) 

Constructor

Parameters

integer $contents

Contents

string $output

Output type