# ManifestReadResult

> Exposes a manifest read together with an optional storage diagnostic.

[API reference](/docs/api/index.md) › [Debug Core](/docs/extensions/debug-core/reference/index.md) › [Storage](/docs/extensions/debug-core/reference/storage/index.md) › ManifestReadResult

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

Exposes a manifest read together with an optional storage diagnostic.

## Properties

| Property | Type | Description | Defined by |
| --- | --- | --- | --- |
| <span id="property-entries"></span>`$entries` readonly constructor | `array<string,` [`RequestSummary`](/docs/extensions/debug-core/reference/storage/requestsummary/index.md)`>` | Newest entries first, or an empty list after a failed read. | `ManifestReadResult` |
| <span id="property-error"></span>`$error` readonly constructor | [`StorageException`](/docs/extensions/debug-core/reference/storage/storageexception/index.md)`\|null` | Filesystem, recovery, decoding, or hydration failure. | `ManifestReadResult` |

## Methods

| Method | Description | Defined by |
| --- | --- | --- |
| [`__construct()`](#method-__construct) | Creates a manifest read result with an optional diagnostic. | `ManifestReadResult` |

## Method details

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

```php
public function __construct(array<string, PHPForge\Debug\Storage\RequestSummary> $entries, PHPForge\Debug\Storage\StorageException|null $error)
```

Creates a manifest read result with an optional diagnostic.

**Parameters**

| Parameter | Type | Description |
| --- | --- | --- |
| `$entries` | `array<string,` [`RequestSummary`](/docs/extensions/debug-core/reference/storage/requestsummary/index.md)`>` | Newest entries first, or an empty list after a failed read. |
| `$error` | [`StorageException`](/docs/extensions/debug-core/reference/storage/storageexception/index.md)`\|null` | Filesystem, recovery, decoding, or hydration failure. |