Skip to content
PHP Ecosystem
Explore

EventInspectorRenderer

API reference › Debug Core › Panel › Event › EventInspectorRenderer

final classPHPForge\Debug\Panel\Event\EventInspectorRenderer
Sourcesrc/Panel/Event/EventInspectorRenderer.php

Shared event-table diagnostics with truthful timing, native disclosures, and adapter-owned filter URLs.

MethodDescriptionDefined by
renderControls() staticRenders whole-capture shortcuts and capture guidance without repeating event rows.EventInspectorRenderer
renderDetailCell() staticRenders the diagnostic disclosure content of one event without the table row wrapper.EventInspectorRenderer
renderDetailRow() staticRenders a full-width diagnostic row controlled by the preceding event disclosure.EventInspectorRenderer
renderEventCell() staticRenders a native diagnostic disclosure inside the adapter’s event column.EventInspectorRenderer
renderTimeCell() staticRenders an original-capture offset and an explicitly labeled gap or inclusive interval.EventInspectorRenderer
public static function renderControls(list<PHPForge\Debug\Panel\Event\EventRow> $allRows, Closure(string, string): string|null $filterUrl, string $eventAttribute, string $coverage): string

Renders whole-capture shortcuts and capture guidance without repeating event rows.

Parameters

ParameterTypeDescription
$allRowslist<EventRow>Complete capture, in observation order.
$filterUrlClosure(string, string): string|nullBuilds an adapter-owned filter URL.
$eventAttributestring
$coveragestring

Returns

string

public static function renderDetailCell(PHPForge\Debug\Panel\Event\EventRow $row, PHPForge\Debug\Panel\Event\EventSequence $sequence): string

Renders the diagnostic disclosure content of one event without the table row wrapper.

renderDetailRow() wraps this content in a full-width table row.

Parameters

ParameterTypeDescription
$rowEventRow
$sequenceEventSequence

Returns

string

public static function renderDetailRow(PHPForge\Debug\Panel\Event\EventRow $row, PHPForge\Debug\Panel\Event\EventSequence $sequence, int<1, 1000> $columns): string

Renders a full-width diagnostic row controlled by the preceding event disclosure.

Parameters

ParameterTypeDescription
$rowEventRow
$sequenceEventSequence
$columnsint<1, 1000>Number of visible columns in the adapter table.

Returns

string

public static function renderEventCell(PHPForge\Debug\Panel\Event\EventRow $row, PHPForge\Debug\Panel\Event\EventSequence $sequence): string

Renders a native diagnostic disclosure inside the adapter’s event column.

Parameters

ParameterTypeDescription
$rowEventRow
$sequenceEventSequence

Returns

string

public static function renderTimeCell(PHPForge\Debug\Panel\Event\EventRow $row, PHPForge\Debug\Panel\Event\EventSequence $sequence): string

Renders an original-capture offset and an explicitly labeled gap or inclusive interval.

Parameters

ParameterTypeDescription
$rowEventRow
$sequenceEventSequence

Returns

string