function AnnotationParser::forClassAndMethod
@psalm-param class-string $className @psalm-param non-empty-string $methodName
Throws
AnnotationsAreNotSupportedForInternalClassesException
InvalidVersionOperatorException
Overrides Parser::forClassAndMethod
File
-
vendor/
phpunit/ phpunit/ src/ Metadata/ Parser/ AnnotationParser.php, line 419
Class
- AnnotationParser
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\Metadata\ParserCode
public function forClassAndMethod(string $className, string $methodName) : MetadataCollection {
return $this->forClass($className)
->mergeWith($this->forMethod($className, $methodName));
}