interface Stub
Same name in this branch
- 11.1.x vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Builder/Stub.php \PHPUnit\Framework\MockObject\Builder\Stub
- 11.1.x vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Interface/Stub.php \PHPUnit\Framework\MockObject\Stub
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
@internal This class is not covered by the backward compatibility promise for PHPUnit
Hierarchy
- interface \PHPUnit\Framework\MockObject\Stub\Stub
Expanded class hierarchy of Stub
All classes that implement Stub
4 files declare their use of Stub
- InvocationMocker.php in vendor/
phpunit/ phpunit/ src/ Framework/ MockObject/ Runtime/ Builder/ InvocationMocker.php - InvocationStubber.php in vendor/
phpunit/ phpunit/ src/ Framework/ MockObject/ Runtime/ Builder/ InvocationStubber.php - Matcher.php in vendor/
phpunit/ phpunit/ src/ Framework/ MockObject/ Runtime/ Matcher.php - Stub.php in vendor/
phpunit/ phpunit/ src/ Framework/ MockObject/ Runtime/ Builder/ Stub.php
File
-
vendor/
phpunit/ phpunit/ src/ Framework/ MockObject/ Runtime/ Stub/ Stub.php, line 19
Namespace
PHPUnit\Framework\MockObject\StubView source
interface Stub {
/**
* Fakes the processing of the invocation $invocation by returning a
* specific value.
*/
public function invoke(Invocation $invocation) : mixed;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
Stub::invoke | public | function | Fakes the processing of the invocation $invocation by returning a specific value. |
8 |