function Renderer::activeBreadcrumb
1 call to Renderer::activeBreadcrumb()
- Renderer::breadcrumbs in vendor/
phpunit/ php-code-coverage/ src/ Report/ Html/ Renderer.php
1 method overrides Renderer::activeBreadcrumb()
- Dashboard::activeBreadcrumb in vendor/
phpunit/ php-code-coverage/ src/ Report/ Html/ Renderer/ Dashboard.php
File
-
vendor/
phpunit/ php-code-coverage/ src/ Report/ Html/ Renderer.php, line 209
Class
- Renderer
- @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
Namespace
SebastianBergmann\CodeCoverage\Report\HtmlCode
protected function activeBreadcrumb(AbstractNode $node) : string {
$buffer = sprintf(' <li class="breadcrumb-item active">%s</li>' . "\n", $node->name());
if ($node instanceof DirectoryNode) {
$buffer .= ' <li class="breadcrumb-item">(<a href="dashboard.html">Dashboard</a>)</li>' . "\n";
}
return $buffer;
}