Свойство | Type | Description | |
---|---|---|---|
$_actual | string | object | A fully-namespaced function name. | |
$_isClass | boolean | Boolean indicating if actual is a class or not. | |
$_method | object | The method instance. | |
$_stub | string | object | The stub. |
Méthode | Description | |
---|---|---|
__construct ( string | object $actual ) | Constructor | |
andReturn ( ) | Set return values. | |
andRun ( ) | Set return values. | |
toBe ( ) | Sets the stub logic. | |
toBeCalled ( ) : self. | Stub function. | |
toBeOK ( ) | Sets the stub logic. | |
toReceive ( ) : self. | Stub a chain of methods. |
public __construct ( string | object $actual ) | ||
$actual | string | object | A fully-namespaced class name or an object instance. |
protected bool $_isClass | ||
Résultat | boolean |