You are here

public function PHP_CodeCoverage::getReport in Zircon Profile 8.0

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

Returns the PHP_CodeCoverage_Report_Node_* object graph for this PHP_CodeCoverage object.

@since Method available since Release 1.1.0

Return value

PHP_CodeCoverage_Report_Node_Directory

File

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

Class

PHP_CodeCoverage
Provides collection functionality for PHP code coverage information.

Code

public function getReport() {
  $factory = new PHP_CodeCoverage_Report_Factory();
  return $factory
    ->create($this);
}