You are here

public function PHP_CodeCoverage::clear in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/php-code-coverage/src/CodeCoverage.php \PHP_CodeCoverage::clear()

Clears collected code coverage data.

1 call to PHP_CodeCoverage::clear()
PHP_CodeCoverage::start in vendor/phpunit/php-code-coverage/src/CodeCoverage.php
Start collection of code coverage information.

File

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

Class

PHP_CodeCoverage
Provides collection functionality for PHP code coverage information.

Code

public function clear() {
  $this->currentId = null;
  $this->data = array();
  $this->tests = array();
}