\Cake\TestSuite\Constraint\ConsoleContentsContain

ContentsContain

Summary

Methods
Properties
Constants
__construct()
matches()
toString()
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

__construct()

__construct(integer  $contents, string  $output) 

Constructor

Parameters

integer $contents

Contents

string $output

Output type

matches()

matches(mixed  $other) : boolean

Checks if contents contain expected

Parameters

mixed $other

Expected

Returns

boolean

toString()

toString() : string

Assertion message

Returns

string