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: * Stubs a method by returning a user-defined value. Chris@0: * Chris@0: * @since Interface available since Release 1.0.0 Chris@0: */ Chris@0: interface PHPUnit_Framework_MockObject_Stub_MatcherCollection Chris@0: { Chris@0: /** Chris@0: * Adds a new matcher to the collection which can be used as an expectation Chris@0: * or a stub. Chris@0: * Chris@0: * @param PHPUnit_Framework_MockObject_Matcher_Invocation $matcher Chris@0: * Matcher for invocations to mock objects. Chris@0: */ Chris@0: public function addMatcher(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher); Chris@0: }