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 matcher of method names. Chris@0: * Chris@0: * @since Interface available since Release 1.0.0 Chris@0: */ Chris@0: interface PHPUnit_Framework_MockObject_Builder_MethodNameMatch extends PHPUnit_Framework_MockObject_Builder_ParametersMatch Chris@0: { Chris@0: /** Chris@0: * Adds a new method name match and returns the parameter match object for Chris@0: * further matching possibilities. Chris@0: * Chris@0: * @param PHPUnit_Framework_Constraint $name Chris@0: * Constraint for matching method, if a string is passed it will use Chris@0: * the PHPUnit_Framework_Constraint_IsEqual. Chris@0: * @return PHPUnit_Framework_MockObject_Builder_ParametersMatch Chris@0: */ Chris@0: public function method($name); Chris@0: }