You are here

public function PHP_CodeCoverage_Report_HTML::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML.php \PHP_CodeCoverage_Report_HTML::__construct()

Constructor.

Parameters

int $lowUpperBound:

int $highLowerBound:

string $generator:

File

vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML.php, line 45

Class

PHP_CodeCoverage_Report_HTML
Generates an HTML report from an PHP_CodeCoverage object.

Code

public function __construct($lowUpperBound = 50, $highLowerBound = 90, $generator = '') {
  $this->generator = $generator;
  $this->highLowerBound = $highLowerBound;
  $this->lowUpperBound = $lowUpperBound;
  $this->templatePath = sprintf('%s%sHTML%sRenderer%sTemplate%s', dirname(__FILE__), DIRECTORY_SEPARATOR, DIRECTORY_SEPARATOR, DIRECTORY_SEPARATOR, DIRECTORY_SEPARATOR);
}