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