Skip to content
PHP Ecosystem
Explore

HistoryGridRenderer

API reference › Yii3 Debug › Web › HistoryGridRenderer

final classYii3\Debug\Web\HistoryGridRenderer
Sourcesrc/Web/HistoryGridRenderer.php

Renders the filterable, paginated request history grid with Debug Core primitives.

MethodDescriptionDefined by
render() staticRenders the history grid, including the Query column only when the Database panel is registered.HistoryGridRenderer
public static function render(array<string, PHPForge\Debug\Storage\RequestSummary> $summaries, array<array-key, mixed> $queryParams, string $routePrefix, Yii3\Debug\Panel\DbPanel|null $dbPanel = null): string

Renders the history grid, including the Query column only when the Database panel is registered.

Parameters

ParameterTypeDescription
$summariesarray<string, PHPForge\Debug\Storage\RequestSummary>Manifest entries in capture order.
$queryParamsarray<array-key, mixed>Request query parameters driving filtering, sorting, and paging.
$routePrefixstringBase route used to generate debugger URLs.
$dbPanelYii3\Debug\Panel\DbPanel|nullRegistered Database panel supplying the critical-query threshold, or null.

Returns

string: Rendered history grid.