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

Breadcrumb

  1. Drupal Core 11.1.x
  2. AttributeParser.php

function AttributeParser::forClassAndMethod

@psalm-param class-string $className @psalm-param non-empty-string $methodName

Overrides Parser::forClassAndMethod

File

vendor/phpunit/phpunit/src/Metadata/Parser/AttributeParser.php, line 668

Class

AttributeParser
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit

Namespace

PHPUnit\Metadata\Parser

Code

public function forClassAndMethod(string $className, string $methodName) : MetadataCollection {
    return $this->forClass($className)
        ->mergeWith($this->forMethod($className, $methodName));
}
RSS feed
Powered by Drupal