# RequestSummaryAwarePanelInterface

> Receives the loaded request summary before the active panel renders.

[API reference](/docs/api/index.md) › [Debug](/docs/extensions/debug/reference/index.md) › [panels](/docs/extensions/debug/reference/panels/index.md) › RequestSummaryAwarePanelInterface

| interface | `yii\debug\panels\RequestSummaryAwarePanelInterface` |
| --- | --- |
| Source | [`src/panels/RequestSummaryAwarePanelInterface.php`](https://github.com/yii2-extensions/debug/blob/main/src/panels/RequestSummaryAwarePanelInterface.php#L12) |

Implemented by 1 type:

- [`ProfilingPanel`](/docs/extensions/debug/reference/panels/profilingpanel/index.md)

Receives the loaded request summary before the active panel renders.

## Methods

| Method | Description | Defined by |
| --- | --- | --- |
| [`setRequestSummary()`](#method-setRequestSummary) abstract | Provides the immutable summary for the request currently being rendered. | `RequestSummaryAwarePanelInterface` |

## Method details

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

```php
abstract public function setRequestSummary(PHPForge\Debug\Storage\RequestSummary $summary): void
```

Provides the immutable summary for the request currently being rendered.

**Parameters**

| Parameter | Type | Description |
| --- | --- | --- |
| `$summary` | `PHPForge\Debug\Storage\RequestSummary` | Summary loaded for the capture under inspection. |