Mercurial > hg > isophonics-drupal-site
comparison vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/MatcherCollection.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
1 <?php | |
2 /* | |
3 * This file is part of the PHPUnit_MockObject package. | |
4 * | |
5 * (c) Sebastian Bergmann <sebastian@phpunit.de> | |
6 * | |
7 * For the full copyright and license information, please view the LICENSE | |
8 * file that was distributed with this source code. | |
9 */ | |
10 | |
11 /** | |
12 * Stubs a method by returning a user-defined value. | |
13 * | |
14 * @since Interface available since Release 1.0.0 | |
15 */ | |
16 interface PHPUnit_Framework_MockObject_Stub_MatcherCollection | |
17 { | |
18 /** | |
19 * Adds a new matcher to the collection which can be used as an expectation | |
20 * or a stub. | |
21 * | |
22 * @param PHPUnit_Framework_MockObject_Matcher_Invocation $matcher | |
23 * Matcher for invocations to mock objects. | |
24 */ | |
25 public function addMatcher(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher); | |
26 } |