Skip to content
PHP Ecosystem
Explore

PanelHeading

API reference › Debug Core › View › Grid › PanelHeading

final classPHPForge\Debug\View\Grid\PanelHeading
Sourcesrc/View/Grid/PanelHeading.php

Renders the visually hidden page heading that names a panel for assistive technology.

MethodDescriptionDefined by
render() staticReturns the screen-reader-only heading carrying the panel title.PanelHeading
public static function render(PHPForge\Debug\Panel\PanelTitle $title): string

Returns the screen-reader-only heading carrying the panel title.

Parameters

ParameterTypeDescription
$titlePHPForge\Debug\Panel\PanelTitleTitle announced as the page heading.

Returns

string: Rendered heading.