You are here

protected function PHPUnit_Util_TestDox_ResultPrinter_HTML::startClass in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Util/TestDox/ResultPrinter/HTML.php \PHPUnit_Util_TestDox_ResultPrinter_HTML::startClass()

Handler for 'start class' event.

Parameters

string $name:

Overrides PHPUnit_Util_TestDox_ResultPrinter::startClass

File

vendor/phpunit/phpunit/src/Util/TestDox/ResultPrinter/HTML.php, line 36

Class

PHPUnit_Util_TestDox_ResultPrinter_HTML
Prints TestDox documentation in HTML format.

Code

protected function startClass($name) {
  $this
    ->write('<h2 id="' . $name . '">' . $this->currentTestClassPrettified . '</h2><ul>');
}