Parser.php
Same filename in this branch
- 11.1.x vendor/open-telemetry/api/Baggage/Propagation/Parser.php
- 11.1.x vendor/sebastian/cli-parser/src/Parser.php
- 11.1.x vendor/sebastian/diff/src/Parser.php
- 11.1.x vendor/egulias/email-validator/src/Parser.php
- 11.1.x vendor/nikic/php-parser/lib/PhpParser/Parser.php
- 11.1.x vendor/twig/twig/src/Parser.php
- 11.1.x vendor/symfony/css-selector/Parser/Parser.php
- 11.1.x vendor/symfony/yaml/Parser.php
- 11.1.x vendor/mck89/peast/lib/Peast/Selector/Parser.php
- 11.1.x vendor/mck89/peast/lib/Peast/Syntax/Parser.php
- 11.1.x vendor/mck89/peast/lib/Peast/Syntax/JSX/Parser.php
Namespace
PHPUnit\Metadata\ParserFile
-
vendor/
phpunit/ phpunit/ src/ Metadata/ Parser/ Parser.php
View source
<?php
declare (strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata\Parser;
use PHPUnit\Metadata\MetadataCollection;
/**
* @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
*/
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;
}
Interfaces
Title | Deprecated | Summary |
---|---|---|
Parser | @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit |