# ParsedEntry

> Represents one collector or panel entry of the application configuration, split into its class and its options.

[API reference](/docs/api/index.md) › [Debug Core](/docs/extensions/debug-core/reference/index.md) › [Registration](/docs/extensions/debug-core/reference/registration/index.md) › ParsedEntry

| final readonly class | `PHPForge\Debug\Registration\ParsedEntry` |
| --- | --- |
| Source | [`src/Registration/ParsedEntry.php`](https://github.com/php-forge/debug-core/blob/main/src/Registration/ParsedEntry.php#L14) |

Represents one collector or panel entry of the application configuration, split into its class and its options.

The options keep `enabled` next to every other key, so each host validates them with its own rules: a collector
reads the flag through [`EntryParser::enabled()`](/docs/extensions/debug-core/reference/registration/entryparser/index.md#method-enabled), and a panel hands the whole map to
[`PanelOverride::fromArray()`](/docs/extensions/debug-core/reference/registration/paneloverride/index.md#method-fromArray).

## Properties

| Property | Type | Description | Defined by |
| --- | --- | --- | --- |
| <span id="property-class"></span>`$class` readonly constructor | `string` | Class name or container identifier the host resolves. | `ParsedEntry` |
| <span id="property-options"></span>`$options` readonly constructor | `array<array-key, mixed>` | Keys the entry declares beside `class`, in declaration order. Default: `[]`. | `ParsedEntry` |

## Methods

| Method | Description | Defined by |
| --- | --- | --- |
| [`__construct()`](#method-__construct) | Creates a parsed collector or panel configuration entry. | `ParsedEntry` |

## Method details

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

```php
public function __construct(string $class, array<array-key, mixed> $options = [])
```

Creates a parsed collector or panel configuration entry.

**Parameters**

| Parameter | Type | Description |
| --- | --- | --- |
| `$class` | `string` | Class name or container identifier the host resolves. |
| `$options` | `array<array-key, mixed>` | Keys the entry declares beside `class`, in declaration order. |