ManifestReadResult
API reference › Debug Core › Storage › ManifestReadResult
Exposes a manifest read together with an optional storage diagnostic.
Properties
Section titled “Properties”| Property | Type | Description | Defined by |
|---|---|---|---|
$entries readonly constructor | array<string, RequestSummary> | Newest entries first, or an empty list after a failed read. | ManifestReadResult |
$error readonly constructor | StorageException| | Filesystem, recovery, decoding, or hydration failure. | ManifestReadResult |
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
__construct() | Creates a manifest read result with an optional diagnostic. | ManifestReadResult |
Method details
Section titled “Method details”__construct()
Section titled “__construct() ”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> | Newest entries first, or an empty list after a failed read. |
$error | StorageException| | Filesystem, recovery, decoding, or hydration failure. |