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

Breadcrumb

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

function CodeCoverage::start

Same name in this branch
  1. 11.1.x vendor/phpunit/phpunit/src/Runner/CodeCoverage.php \PHPUnit\Runner\CodeCoverage::start()

File

vendor/phpunit/php-code-coverage/src/CodeCoverage.php, line 163

Class

CodeCoverage
Provides collection functionality for PHP code coverage information.

Namespace

SebastianBergmann\CodeCoverage

Code

public function start(string $id, ?TestSize $size = null, bool $clear = false) : void {
    if ($clear) {
        $this->clear();
    }
    $this->currentId = $id;
    $this->currentSize = $size;
    $this->driver
        ->start();
    $this->cachedReport = null;
}
RSS feed
Powered by Drupal