Метод | Описание | |
---|---|---|
__construct ( callable $customCallback, ReflectionMethod $method, Eloquent\Phony\Mock\Handle\Handle $handle, |
Construct a new wrapped custom method. | |
customCallback ( ) : ReflectionMethod | Get the custom callback. | |
invokeWith ( |
Invoke this object. |
public __construct ( callable $customCallback, ReflectionMethod $method, Eloquent\Phony\Mock\Handle\Handle $handle, |
||
$customCallback | callable | The custom callback. |
$method | ReflectionMethod | The method. |
$handle | Eloquent\Phony\Mock\Handle\Handle | The handle. |
$invoker | The invoker to use. |
public customCallback ( ) : ReflectionMethod | ||
Результат | ReflectionMethod | The custom callback. |
public invokeWith ( |
||
$arguments | The arguments. | |
Результат | mixed | The result of invocation. |