Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

Parser.php

Same filename in this branch
  1. 11.1.x vendor/open-telemetry/api/Baggage/Propagation/Parser.php
  2. 11.1.x vendor/sebastian/cli-parser/src/Parser.php
  3. 11.1.x vendor/sebastian/diff/src/Parser.php
  4. 11.1.x vendor/egulias/email-validator/src/Parser.php
  5. 11.1.x vendor/nikic/php-parser/lib/PhpParser/Parser.php
  6. 11.1.x vendor/twig/twig/src/Parser.php
  7. 11.1.x vendor/symfony/css-selector/Parser/Parser.php
  8. 11.1.x vendor/symfony/yaml/Parser.php
  9. 11.1.x vendor/mck89/peast/lib/Peast/Selector/Parser.php
  10. 11.1.x vendor/mck89/peast/lib/Peast/Syntax/Parser.php
  11. 11.1.x vendor/mck89/peast/lib/Peast/Syntax/JSX/Parser.php

Namespace

PHPUnit\Metadata\Parser

File

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal