file-fetcher
Public Member Functions | List of all members
PHPUnit\Framework\MockObject\Builder\Stub Interface Reference
Inheritance diagram for PHPUnit\Framework\MockObject\Builder\Stub:
PHPUnit\Framework\MockObject\Builder\Identity PHPUnit\Framework\MockObject\Builder\Match PHPUnit\Framework\MockObject\Builder\ParametersMatch PHPUnit\Framework\MockObject\Builder\MethodNameMatch PHPUnit\Framework\MockObject\Builder\InvocationMocker

Public Member Functions

 will (BaseStub $stub)
 
- Public Member Functions inherited from PHPUnit\Framework\MockObject\Builder\Identity
 id ($id)
 

Member Function Documentation

◆ will()

PHPUnit\Framework\MockObject\Builder\Stub::will ( BaseStub  $stub)

Stubs the matching method with the stub object $stub. Any invocations of the matched method will now be handled by the stub instead.


The documentation for this interface was generated from the following file: