|
Lggr
|


Public Member Functions | |
| invoke (Invocation $invocation) | |
Public Member Functions inherited from PHPUnit\Framework\SelfDescribing | |
| toString () | |
An object that stubs the process of a normal method for a mock object.
The stub object will replace the code for the stubbed method and return a specific value instead of the original value.
| PHPUnit\Framework\MockObject\Stub::invoke | ( | Invocation | $invocation | ) |
Fakes the processing of the invocation $invocation by returning a specific value.
| Invocation | $invocation | The invocation which was mocked and matched by the current method and argument matchers |
Implemented in PHPUnit\Framework\MockObject\Stub\ConsecutiveCalls, PHPUnit\Framework\MockObject\Stub\ReturnReference, PHPUnit\Framework\MockObject\Stub\ReturnStub, PHPUnit\Framework\MockObject\Stub\ReturnArgument, PHPUnit\Framework\MockObject\Stub\ReturnValueMap, PHPUnit\Framework\MockObject\Stub\Exception, PHPUnit\Framework\MockObject\Stub\ReturnCallback, and PHPUnit\Framework\MockObject\Stub\ReturnSelf.
1.8.17