function Metadata::requiresFunctionOnMethod
@psalm-param non-empty-string $functionName
2 calls to Metadata::requiresFunctionOnMethod()
- 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 271
Class
- Metadata
- @psalm-immutable
Namespace
PHPUnit\MetadataCode
public static function requiresFunctionOnMethod(string $functionName) : RequiresFunction {
return new RequiresFunction(self::METHOD_LEVEL, $functionName);
}