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

Breadcrumb

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

function Generator::__construct

Same name in this branch
  1. 11.1.x vendor/squizlabs/php_codesniffer/src/Generators/Generator.php \PHP_CodeSniffer\Generators\Generator::__construct()

Throws

EventFacadeIsSealedException

UnknownSubscriberTypeException

File

vendor/phpunit/phpunit/src/Runner/Baseline/Generator.php, line 39

Class

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

Namespace

PHPUnit\Runner\Baseline

Code

public function __construct(Facade $facade, Source $source) {
    $facade->registerSubscribers(new TestTriggeredDeprecationSubscriber($this), new TestTriggeredNoticeSubscriber($this), new TestTriggeredPhpDeprecationSubscriber($this), new TestTriggeredPhpNoticeSubscriber($this), new TestTriggeredPhpWarningSubscriber($this), new TestTriggeredWarningSubscriber($this));
    $this->baseline = new Baseline();
    $this->source = $source;
}

API Navigation

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