Chris@14: Chris@14: * Chris@14: * For the full copyright and license information, please view the LICENSE Chris@14: * file that was distributed with this source code. Chris@14: */ Chris@14: namespace PHPUnit\Framework\MockObject\Builder; Chris@14: Chris@14: /** Chris@14: * Builder interface for matcher of method names. Chris@14: */ Chris@14: interface MethodNameMatch extends ParametersMatch Chris@14: { Chris@14: /** Chris@14: * Adds a new method name match and returns the parameter match object for Chris@14: * further matching possibilities. Chris@14: * Chris@14: * @param \PHPUnit\Framework\Constraint\Constraint $name Constraint for matching method, if a string is passed it will use the PHPUnit_Framework_Constraint_IsEqual Chris@14: * Chris@14: * @return ParametersMatch Chris@14: */ Chris@14: public function method($name); Chris@14: }