# EventInspectorRenderer

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

[API reference](/docs/api/index.md) › [Debug Core](/docs/extensions/debug-core/reference/index.md) › [Panel](/docs/extensions/debug-core/reference/panel/index.md) › [Event](/docs/extensions/debug-core/reference/panel/event/index.md) › EventInspectorRenderer

| final class | `PHPForge\Debug\Panel\Event\EventInspectorRenderer` |
| --- | --- |
| Source | [`src/Panel/Event/EventInspectorRenderer.php`](https://github.com/php-forge/debug-core/blob/main/src/Panel/Event/EventInspectorRenderer.php#L29) |

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

## Methods

| Method | Description | Defined by |
| --- | --- | --- |
| [`renderControls()`](#method-renderControls) static | Renders whole-capture shortcuts and capture guidance without repeating event rows. | `EventInspectorRenderer` |
| [`renderDetailCell()`](#method-renderDetailCell) static | Renders the diagnostic disclosure content of one event without the table row wrapper. | `EventInspectorRenderer` |
| [`renderDetailRow()`](#method-renderDetailRow) static | Renders a full-width diagnostic row controlled by the preceding event disclosure. | `EventInspectorRenderer` |
| [`renderEventCell()`](#method-renderEventCell) static | Renders a native diagnostic disclosure inside the adapter's event column. | `EventInspectorRenderer` |
| [`renderTimeCell()`](#method-renderTimeCell) static | Renders an original-capture offset and an explicitly labeled gap or inclusive interval. | `EventInspectorRenderer` |

## Method details

### renderControls() <span id="method-renderControls"></span>

```php
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**

| Parameter | Type | Description |
| --- | --- | --- |
| `$allRows` | `list<`[`EventRow`](/docs/extensions/debug-core/reference/panel/event/eventrow/index.md)`>` | Complete capture, in observation order. |
| `$filterUrl` | [`Closure`](https://www.php.net/manual/en/class.closure.php)`(string, string): string\|null` | Builds an adapter-owned filter URL. |
| `$eventAttribute` | `string` |  |
| `$coverage` | `string` |  |

**Returns**

`string`

### renderDetailCell() <span id="method-renderDetailCell"></span>

```php
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()`](/docs/extensions/debug-core/reference/panel/event/eventinspectorrenderer/index.md#method-renderDetailRow) wraps this content in a full-width table row.

**Parameters**

| Parameter | Type | Description |
| --- | --- | --- |
| `$row` | [`EventRow`](/docs/extensions/debug-core/reference/panel/event/eventrow/index.md) |  |
| `$sequence` | [`EventSequence`](/docs/extensions/debug-core/reference/panel/event/eventsequence/index.md) |  |

**Returns**

`string`

### renderDetailRow() <span id="method-renderDetailRow"></span>

```php
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**

| Parameter | Type | Description |
| --- | --- | --- |
| `$row` | [`EventRow`](/docs/extensions/debug-core/reference/panel/event/eventrow/index.md) |  |
| `$sequence` | [`EventSequence`](/docs/extensions/debug-core/reference/panel/event/eventsequence/index.md) |  |
| `$columns` | `int<1, 1000>` | Number of visible columns in the adapter table. |

**Returns**

`string`

### renderEventCell() <span id="method-renderEventCell"></span>

```php
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**

| Parameter | Type | Description |
| --- | --- | --- |
| `$row` | [`EventRow`](/docs/extensions/debug-core/reference/panel/event/eventrow/index.md) |  |
| `$sequence` | [`EventSequence`](/docs/extensions/debug-core/reference/panel/event/eventsequence/index.md) |  |

**Returns**

`string`

### renderTimeCell() <span id="method-renderTimeCell"></span>

```php
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**

| Parameter | Type | Description |
| --- | --- | --- |
| `$row` | [`EventRow`](/docs/extensions/debug-core/reference/panel/event/eventrow/index.md) |  |
| `$sequence` | [`EventSequence`](/docs/extensions/debug-core/reference/panel/event/eventsequence/index.md) |  |

**Returns**

`string`