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

Breadcrumb

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

function Facade::__construct

Same name in this branch
  1. 11.1.x vendor/phpunit/php-code-coverage/src/Report/Xml/Facade.php \SebastianBergmann\CodeCoverage\Report\Xml\Facade::__construct()
  2. 11.1.x vendor/phpunit/phpunit/src/Event/Facade.php \PHPUnit\Event\Facade::__construct()

File

vendor/phpunit/php-code-coverage/src/Report/Html/Facade.php, line 33

Class

Facade

Namespace

SebastianBergmann\CodeCoverage\Report\Html

Code

public function __construct(string $generator = '', ?Colors $colors = null, ?Thresholds $thresholds = null, ?CustomCssFile $customCssFile = null) {
    $this->generator = $generator;
    $this->colors = $colors ?? Colors::default();
    $this->thresholds = $thresholds ?? Thresholds::default();
    $this->customCssFile = $customCssFile ?? CustomCssFile::default();
    $this->templatePath = __DIR__ . '/Renderer/Template/';
}
RSS feed
Powered by Drupal