You are here

public function PHP_CodeCoverage_Report_Node_File::getNumClasses in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/File.php \PHP_CodeCoverage_Report_Node_File::getNumClasses()

Returns the number of classes.

Return value

int

Overrides PHP_CodeCoverage_Report_Node::getNumClasses

File

vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/File.php, line 221

Class

PHP_CodeCoverage_Report_Node_File
Represents a file in the code coverage information tree.

Code

public function getNumClasses() {
  return count($this->classes);
}