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

Breadcrumb

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

function ExcludeList::__construct

File

vendor/phpunit/phpunit/src/Util/ExcludeList.php, line 161

Class

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

Namespace

PHPUnit\Util

Code

public function __construct(?bool $enabled = null) {
    if ($enabled === null) {
        $enabled = !defined('PHPUNIT_TESTSUITE');
    }
    $this->enabled = $enabled;
}

API Navigation

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