Method | Description | |
---|---|---|
__construct ( ReflectionMethod $callTraitMethod, string $traitName, ReflectionMethod $method, Eloquent\Phony\Mock\Handle\Handle $handle ) | Construct a new wrapped trait method. | |
callTraitMethod ( ) : ReflectionMethod | Get the _callTrait() method. | |
invokeWith ( |
Invoke this object. | |
traitName ( ) : string | Get the trait name. |
public __construct ( ReflectionMethod $callTraitMethod, string $traitName, ReflectionMethod $method, Eloquent\Phony\Mock\Handle\Handle $handle ) | ||
$callTraitMethod | ReflectionMethod | The _callTrait() method. |
$traitName | string | The trait name. |
$method | ReflectionMethod | The method. |
$handle | Eloquent\Phony\Mock\Handle\Handle | The handle. |
public callTraitMethod ( ) : ReflectionMethod | ||
return | ReflectionMethod | The _callTrait() method. |
public invokeWith ( |
||
$arguments | The arguments. | |
return | mixed | The result of invocation. |