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

Breadcrumb

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

function RequiresSetting::__construct

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

@psalm-param non-empty-string $setting @psalm-param non-empty-string $value

File

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

Class

RequiresSetting
@psalm-immutable

Namespace

PHPUnit\Framework\Attributes

Code

public function __construct(string $setting, string $value) {
    $this->setting = $setting;
    $this->value = $value;
}

API Navigation

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