function Metadata::requiresMethodOnMethod
@psalm-param class-string $className @psalm-param non-empty-string $methodName
2 calls to Metadata::requiresMethodOnMethod()
- AnnotationParser::parseRequirements in vendor/
phpunit/ phpunit/ src/ Metadata/ Parser/ AnnotationParser.php - @psalm-return list<Metadata>
- AttributeParser::forMethod in vendor/
phpunit/ phpunit/ src/ Metadata/ Parser/ AttributeParser.php - @psalm-param class-string $className @psalm-param non-empty-string $methodName
File
-
vendor/
phpunit/ phpunit/ src/ Metadata/ Metadata.php, line 289
Class
- Metadata
- @psalm-immutable
Namespace
PHPUnit\MetadataCode
public static function requiresMethodOnMethod(string $className, string $methodName) : RequiresMethod {
return new RequiresMethod(self::METHOD_LEVEL, $className, $methodName);
}