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

Breadcrumb

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

function RequiresMethod::__construct

Same name in this branch
  1. 11.1.x vendor/phpunit/phpunit/src/Metadata/RequiresMethod.php \PHPUnit\Metadata\RequiresMethod::__construct()

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

File

vendor/phpunit/phpunit/src/Framework/Attributes/RequiresMethod.php, line 36

Class

RequiresMethod
@psalm-immutable

Namespace

PHPUnit\Framework\Attributes

Code

public function __construct(string $className, string $methodName) {
    $this->className = $className;
    $this->methodName = $methodName;
}

API Navigation

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