Property | Type | Description | |
---|---|---|---|
$_actual | string | object | A fully-namespaced function name. | |
$_backtrace | array | The expectation backtrace reference. | |
$_description | array | The description report. | |
$_message | object | The message instance. | |
$_ordered | boolean | If true, will take the calling order into account. | |
$_report | array | The report. | |
$_times | integer | Number of occurences to match. |
Method | Description | |
---|---|---|
__construct ( string | object $actual ) | Constructor | |
__get ( $name ) | Magic getter, if called with 'ordered' will set ordered to true. | |
_buildDescription ( mixed $startIndex ) | Build the description of the runned ::match() call. | |
backtrace ( ) : object | Gets the backtrace reference. | |
description ( ) | Returns the description report. | |
match ( mixed $actual ) : boolean | Checks that $actual will be called. | |
once ( ) : self | Sets the number of occurences. | |
resolve ( ) : boolean | Resolves the matching. | |
times ( integer $times = null ) : mixed | Gets/sets the number of occurences. | |
with ( ) : self | Sets arguments requirement. |
public __construct ( string | object $actual ) | ||
$actual | string | object | A fully-namespaced class name or an object instance. |
public __get ( $name ) |
public _buildDescription ( mixed $startIndex ) | ||
$startIndex | mixed | The startIndex in calls log. |
protected array $_backtrace | ||
return | array |
protected array $_description | ||
return | array |
protected bool $_ordered | ||
return | boolean |