Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: /** Chris@0: * Builder interface for stubs which are actions replacing an invocation. Chris@0: * Chris@0: * @since Interface available since Release 1.0.0 Chris@0: */ Chris@0: interface PHPUnit_Framework_MockObject_Builder_Stub extends PHPUnit_Framework_MockObject_Builder_Identity Chris@0: { Chris@0: /** Chris@0: * Stubs the matching method with the stub object $stub. Any invocations of Chris@0: * the matched method will now be handled by the stub instead. Chris@0: * Chris@0: * @param PHPUnit_Framework_MockObject_Stub $stub The stub object. Chris@0: * @return PHPUnit_Framework_MockObject_Builder_Identity Chris@0: */ Chris@0: public function will(PHPUnit_Framework_MockObject_Stub $stub); Chris@0: }