# DebugUrlGeneratorInterface

> Builds the adapter-owned captured-request panel URL consumed by framework-neutral panel renderers.

[API reference](/docs/api/index.md) › [Debug Core](/docs/extensions/debug-core/reference/index.md) › [Routing](/docs/extensions/debug-core/reference/routing/index.md) › DebugUrlGeneratorInterface

| interface | `PHPForge\Debug\Routing\DebugUrlGeneratorInterface` |
| --- | --- |
| Source | [`src/Routing/DebugUrlGeneratorInterface.php`](https://github.com/php-forge/debug-core/blob/main/src/Routing/DebugUrlGeneratorInterface.php#L10) |

Implemented by 2 types:

- [`yii\debug\routing\DebugUrlGenerator`](/docs/extensions/debug/reference/routing/debugurlgenerator/index.md)
- [`Yii3\Debug\Web\DebugUrlGenerator`](/docs/extensions/yii3-debug/reference/web/debugurlgenerator/index.md)

Builds the adapter-owned captured-request panel URL consumed by framework-neutral panel renderers.

## Methods

| Method | Description | Defined by |
| --- | --- | --- |
| [`panel()`](#method-panel) abstract | Builds a captured-request panel URL. | `DebugUrlGeneratorInterface` |

## Method details

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

```php
abstract public function panel(string $tag, string $panel, array<array-key, mixed> $queryParams = []): string
```

Builds a captured-request panel URL.

**Parameters**

| Parameter | Type | Description |
| --- | --- | --- |
| `$tag` | `string` | Captured request tag. |
| `$panel` | `string` | Stable panel identifier. |
| `$queryParams` | `array<array-key, mixed>` | Panel filter, sort, or pagination parameters. |

**Returns**

`string`