Construct a new handle.
public __construct ( ReflectionClass $class, stdClass $state, ReflectionMethod $callParentMethod = null, ReflectionMethod $callTraitMethod = null, ReflectionMethod $callMagicMethod = null, Eloquent\Phony\Mock\Mock $mock = null, |
||
$class | ReflectionClass | The class. |
$state | stdClass | The state. |
$callParentMethod | ReflectionMethod | The call parent method, or null if no parent class exists. |
$callTraitMethod | ReflectionMethod | The call trait method, or null if no trait methods are implemented. |
$callMagicMethod | ReflectionMethod | The call magic method, or null if magic calls are not supported. |
$mock | Eloquent\Phony\Mock\Mock | The mock, or null if this is a static handle. |
$stubFactory | The stub factory to use. | |
$stubVerifierFactory | The stub verifier factory to use. | |
$assertionRenderer | The assertion renderer to use. | |
$assertionRecorder | Eloquent\Phony\Assertion\AssertionRecorder | The assertion recorder to use. |
$invoker | The invoker to use. |