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/Framework/Attributes/RequiresSetting.php \PHPUnit\Framework\Attributes\RequiresSetting::__construct()

@psalm-param 0|1 $level @psalm-param non-empty-string $setting @psalm-param non-empty-string $value

Overrides Metadata::__construct

File

vendor/phpunit/phpunit/src/Metadata/RequiresSetting.php, line 34

Class

RequiresSetting
@psalm-immutable

Namespace

PHPUnit\Metadata

Code

protected function __construct(int $level, string $setting, string $value) {
    parent::__construct($level);
    $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