# RequestServerRenderer

> Shows additional server diagnostics while retaining the complete captured variables in a separate raw disclosure.

[API reference](/docs/api/index.md) › [Debug Core](/docs/extensions/debug-core/reference/index.md) › [Panel](/docs/extensions/debug-core/reference/panel/index.md) › [Request](/docs/extensions/debug-core/reference/panel/request/index.md) › RequestServerRenderer

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

Shows additional server diagnostics while retaining the complete captured variables in a separate raw disclosure.

## Methods

| Method | Description | Defined by |
| --- | --- | --- |
| [`render()`](#method-render) static | Renders every variable when no Request context is available to establish duplication. | `RequestServerRenderer` |
| [`renderForRequest()`](#method-renderForRequest) static | Moves exact Request and inbound-header duplicates out of the primary view, not out of the captured data. | `RequestServerRenderer` |

## Method details

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

```php
public static function render(array<int|string, mixed> $entries): string
```

Renders every variable when no Request context is available to establish duplication.

**Parameters**

| Parameter | Type | Description |
| --- | --- | --- |
| `$entries` | `array<int\|string, mixed>` |  |

**Returns**

`string`

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

```php
public static function renderForRequest(array<int|string, mixed> $entries, PHPForge\Debug\Panel\Request\RequestView $view): string
```

Moves exact Request and inbound-header duplicates out of the primary view, not out of the captured data.

**Parameters**

| Parameter | Type | Description |
| --- | --- | --- |
| `$entries` | `array<int\|string, mixed>` |  |
| `$view` | [`RequestView`](/docs/extensions/debug-core/reference/panel/request/requestview/index.md) |  |

**Returns**

`string`