public function PHPUnit_Framework_MockObject_Stub::invoke in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub.php \PHPUnit_Framework_MockObject_Stub::invoke()
Fakes the processing of the invocation $invocation by returning a specific value.
Parameters
PHPUnit_Framework_MockObject_Invocation $invocation: The invocation which was mocked and matched by the current method and argument matchers.
Return value
mixed
6 methods override PHPUnit_Framework_MockObject_Stub::invoke()
- PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls::invoke in vendor/
phpunit/ phpunit-mock-objects/ src/ Framework/ MockObject/ Stub/ ConsecutiveCalls.php - Fakes the processing of the invocation $invocation by returning a specific value.
- PHPUnit_Framework_MockObject_Stub_Exception::invoke in vendor/
phpunit/ phpunit-mock-objects/ src/ Framework/ MockObject/ Stub/ Exception.php - Fakes the processing of the invocation $invocation by returning a specific value.
- PHPUnit_Framework_MockObject_Stub_Return::invoke in vendor/
phpunit/ phpunit-mock-objects/ src/ Framework/ MockObject/ Stub/ Return.php - Fakes the processing of the invocation $invocation by returning a specific value.
- PHPUnit_Framework_MockObject_Stub_ReturnCallback::invoke in vendor/
phpunit/ phpunit-mock-objects/ src/ Framework/ MockObject/ Stub/ ReturnCallback.php - Fakes the processing of the invocation $invocation by returning a specific value.
- PHPUnit_Framework_MockObject_Stub_ReturnSelf::invoke in vendor/
phpunit/ phpunit-mock-objects/ src/ Framework/ MockObject/ Stub/ ReturnSelf.php - Fakes the processing of the invocation $invocation by returning a specific value.
File
- vendor/
phpunit/ phpunit-mock-objects/ src/ Framework/ MockObject/ Stub.php, line 30
Class
- PHPUnit_Framework_MockObject_Stub
- An object that stubs the process of a normal method for a mock object.
Code
public function invoke(PHPUnit_Framework_MockObject_Invocation $invocation);