96bfb1e251b365a69cad02368a52681d594a783b
[yaffs-website] / vendor / phpunit / phpunit-mock-objects / src / Framework / MockObject / Builder / MethodNameMatch.php
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  * Builder interface for matcher of method names.
13  *
14  * @since Interface available since Release 1.0.0
15  */
16 interface PHPUnit_Framework_MockObject_Builder_MethodNameMatch extends PHPUnit_Framework_MockObject_Builder_ParametersMatch
17 {
18     /**
19      * Adds a new method name match and returns the parameter match object for
20      * further matching possibilities.
21      *
22      * @param  PHPUnit_Framework_Constraint                         $name
23      *                                                                    Constraint for matching method, if a string is passed it will use
24      *                                                                    the PHPUnit_Framework_Constraint_IsEqual.
25      * @return PHPUnit_Framework_MockObject_Builder_ParametersMatch
26      */
27     public function method($name);
28 }