interface Parser
Same name in this branch
- 11.1.x vendor/nikic/php-parser/lib/PhpParser/Parser.php \PhpParser\Parser
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
@internal This class is not covered by the backward compatibility promise for PHPUnit
Hierarchy
- interface \PHPUnit\Metadata\Parser\Parser
Expanded class hierarchy of Parser
All classes that implement Parser
File
-
vendor/
phpunit/ phpunit/ src/ Metadata/ Parser/ Parser.php, line 19
Namespace
PHPUnit\Metadata\ParserView source
interface Parser {
/**
* @psalm-param class-string $className
*/
public function forClass(string $className) : MetadataCollection;
/**
* @psalm-param class-string $className
* @psalm-param non-empty-string $methodName
*/
public function forMethod(string $className, string $methodName) : MetadataCollection;
/**
* @psalm-param class-string $className
* @psalm-param non-empty-string $methodName
*/
public function forClassAndMethod(string $className, string $methodName) : MetadataCollection;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
Parser::forClass | public | function | @psalm-param class-string $className | 4 |
Parser::forClassAndMethod | public | function | @psalm-param class-string $className @psalm-param non-empty-string $methodName |
4 |
Parser::forMethod | public | function | @psalm-param class-string $className @psalm-param non-empty-string $methodName |
4 |