Property | Type | Description | |
---|---|---|---|
$callMagicMethod | |||
$handle | |||
$isUncallable | |||
$mock | |||
$name |
Method | Description | |
---|---|---|
__construct ( string $name, ReflectionMethod $callMagicMethod, boolean $isUncallable, Eloquent\Phony\Mock\Handle\Handle $handle ) | Construct a new wrapped magic method. | |
callMagicMethod ( ) : ReflectionMethod | Get the method. | |
handle ( ) : Eloquent\Phony\Mock\Handle\Handle | Get the handle. | |
invokeWith ( |
Invoke this object. | |
isUncallable ( ) : boolean | Returns true if uncallable. | |
mock ( ) : Mock | null | Get the mock. | |
name ( ) : string | Get the name. |
public __construct ( string $name, ReflectionMethod $callMagicMethod, boolean $isUncallable, Eloquent\Phony\Mock\Handle\Handle $handle ) | ||
$name | string | The name. |
$callMagicMethod | ReflectionMethod | The _callMagic() method. |
$isUncallable | boolean | True if the underlying magic method is uncallable. |
$handle | Eloquent\Phony\Mock\Handle\Handle | The handle. |
public callMagicMethod ( ) : ReflectionMethod | ||
return | ReflectionMethod | The method. |
public handle ( ) : Eloquent\Phony\Mock\Handle\Handle | ||
return | Eloquent\Phony\Mock\Handle\Handle | The handle. |
public invokeWith ( |
||
$arguments | The arguments. | |
return | mixed | The result of invocation. |
public isUncallable ( ) : boolean | ||
return | boolean | True if uncallable. |