RequestSectionRenderer
API reference › Debug Core › Panel › Request › RequestSectionRenderer
Renders the Request panel detail view.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
renderDisclosureSection() static | Renders a Request section inside the shared disclosure, opening populated sections and keeping empty ones collapsed by default. Filters remain inside the expandable body and continue targeting the section table. | RequestSectionRenderer |
renderHero() static | Renders the hero header: method pill, URL, status pill, and the ip / time / durationMs / flags meta strip. | RequestSectionRenderer |
renderMethodPill() static | Renders the HTTP method pill carrying the shared semantic verb hue. | RequestSectionRenderer |
renderSection() static | Renders a single name/value section as <header> + <table>, or as a collapsed disclosure when the section has no entries. | RequestSectionRenderer |
renderTabs() static | Renders the full tab strip plus the per-tab content panels, wrapping the sections returned by renderSection(). | RequestSectionRenderer |
Method details
Section titled “Method details”renderDisclosureSection()
Section titled “renderDisclosureSection() ”public static function renderDisclosureSection(PHPForge\Debug\Panel\Request\RequestSection $section): stringRenders a Request section inside the shared disclosure, opening populated sections and keeping empty ones collapsed by default. Filters remain inside the expandable body and continue targeting the section table.
renderHero()
Section titled “renderHero() ”public static function renderHero(PHPForge\Debug\Panel\Request\RequestHero $hero): stringRenders the hero header: method pill, URL, status pill, and the ip / time / durationMs / flags meta strip.
renderMethodPill()
Section titled “renderMethodPill() ”public static function renderMethodPill(string $method): UIAwesome\Html\Phrasing\SpanRenders the HTTP method pill carrying the shared semantic verb hue.
Parameters
| Parameter | Type | Description |
|---|---|---|
$method | string | Captured HTTP method. |
Returns
UIAwesome\Html\Phrasing\Span: Method pill element.
renderSection()
Section titled “renderSection() ”public static function renderSection(PHPForge\Debug\Panel\Request\RequestSection $section): stringRenders a single name/value section as <header> + <table>, or as a collapsed disclosure when the section
has no entries.
renderTabs()
Section titled “renderTabs() ”public static function renderTabs(list<PHPForge\Debug\Panel\Request\RequestTab> $tabs): stringRenders the full tab strip plus the per-tab content panels, wrapping the sections returned by
renderSection().