function MethodName::matchesName
Throws
1 call to MethodName::matchesName()
- MethodName::matches in vendor/
phpunit/ phpunit/ src/ Framework/ MockObject/ Runtime/ Rule/ MethodName.php
File
-
vendor/
phpunit/ phpunit/ src/ Framework/ MockObject/ Runtime/ Rule/ MethodName.php, line 56
Class
- MethodName
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\Framework\MockObject\RuleCode
public function matchesName(string $methodName) : bool {
return (bool) $this->constraint
->evaluate($methodName, '', true);
}