Property | Type | Description | |
---|---|---|---|
$_backtrace | array | The backtrace. | |
$_children | array | The reports of executed expectations. | |
$_data | array | The matcher data. | |
$_description | string | The matcher description result. | |
$_exception | string | The related exception. | |
$_file | string | The file path related to the report. | |
$_line | string | The line related to the report. | |
$_matcher | string | The matcher class name from which this report is related. | |
$_matcherName | string | The matcher name from which this report is related. | |
$_not | boolean | If it's an inverted expectation. | |
$_scope | object | The scope context instance. | |
$_type | object | The type of the report. |
Method | Description | |
---|---|---|
__construct ( array $config = [] ) | The Constructor. | |
add ( $type, array $data = [] ) | Adds an expectation report and emits a report event. | |
backtrace ( $backtrace = [] ) : array | Gets the backtrace related to the report. | |
children ( ) : array | Gets all executed expectations reports. | |
data ( ) : array | Gets the matcher data. | |
description ( ) : string | Gets the matcher description result. | |
exception ( $exception = null ) : object | Gets the exception related to the report. | |
file ( ) : array | Gets file path related to the report. | |
line ( ) : array | Gets line related to the report. | |
matcher ( ) : string | Gets the matcher class name related to the report. | |
matcherName ( ) : string | Gets the matcher name related to the report. | |
messages ( ) : array | Gets the scope related messages. | |
not ( ) : string | Gets the not boolean. | |
passed ( ) : boolean | Return the state of the log. | |
scope ( ) : object | Gets the scope context of the report. | |
type ( $type = null ) : string | Gets the type of the report. |
public __construct ( array $config = [] ) | ||
$config | array | The Suite config array. Options are: -`'scope'` _object_: the scope context instance. |
public description ( ) : string | ||
return | string |
public matcherName ( ) : string | ||
return | string |
protected array $_children | ||
return | array |
protected string $_description | ||
return | string |
protected string $_file | ||
return | string |
protected string $_matcher | ||
return | string |
protected string $_matcherName | ||
return | string |