프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_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. |
메소드 | 설명 | |
---|---|---|
__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 bool $_ordered | ||
리턴 | boolean |