You are here

public function PHP_CodeCoverage::setData in Zircon Profile 8.0

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

Sets the coverage data.

@since Method available since Release 2.0.0

Parameters

array $data:

File

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

Class

PHP_CodeCoverage
Provides collection functionality for PHP code coverage information.

Code

public function setData(array $data) {
  $this->data = $data;
}