file-fetcher
|
Public Member Functions | |
invoke (Invocation $invocation) | |
![]() | |
toString () | |
PHPUnit\Framework\MockObject\Stub\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\Exception, PHPUnit\Framework\MockObject\Stub\ReturnReference, PHPUnit\Framework\MockObject\Stub\ReturnStub, PHPUnit\Framework\MockObject\Stub\ReturnArgument, PHPUnit\Framework\MockObject\Stub\ReturnValueMap, PHPUnit\Framework\MockObject\Stub\ReturnCallback, and PHPUnit\Framework\MockObject\Stub\ReturnSelf.