PHPUnit_Framework_MockObject_Stub_ReturnReference
class PHPUnit_Framework_MockObject_Stub_ReturnReference extends PHPUnit_Framework_MockObject_Stub_Return (View source)
Stubs a method by returning a user-defined reference to a value.
Properties
protected | $value | from PHPUnit_Framework_MockObject_Stub_Return |
Methods
__construct($value)
No description
mixed
invoke(PHPUnit_Framework_MockObject_Invocation $invocation)
Fakes the processing of the invocation $invocation by returning a specific value.
Details
at line 16
__construct($value)
mixed
invoke(PHPUnit_Framework_MockObject_Invocation $invocation)
Fakes the processing of the invocation $invocation by returning a specific value.