Skip to content
PHP Ecosystem
Explore

ManifestReadResult

API reference › Debug Core › Storage › ManifestReadResult

final readonly classPHPForge\Debug\Storage\ManifestReadResult
Sourcesrc/Storage/ManifestReadResult.php

Exposes a manifest read together with an optional storage diagnostic.

PropertyTypeDescriptionDefined by
$entries readonly constructorarray<string, RequestSummary>Newest entries first, or an empty list after a failed read.ManifestReadResult
$error readonly constructorStorageException|nullFilesystem, recovery, decoding, or hydration failure.ManifestReadResult
MethodDescriptionDefined by
__construct()Creates a manifest read result with an optional diagnostic.ManifestReadResult
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

ParameterTypeDescription
$entriesarray<string, RequestSummary>Newest entries first, or an empty list after a failed read.
$errorStorageException|nullFilesystem, recovery, decoding, or hydration failure.