SnapshotWriteResult
API reference › Debug Core › Storage › SnapshotWriteResult
Exposes the committed manifest and the summaries evicted by a snapshot write.
Properties
Section titled “Properties”| Property | Type | Description | Defined by |
|---|---|---|---|
$entries readonly constructor | array<string, RequestSummary> | Committed manifest entries, newest first. | SnapshotWriteResult |
$removed readonly constructor | list<RequestSummary> | Entries evicted from the manifest. | SnapshotWriteResult |
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
__construct() | Creates a snapshot write result with the committed manifest and evictions. | SnapshotWriteResult |
Method details
Section titled “Method details”__construct()
Section titled “__construct() ”public function __construct(array<string, PHPForge\Debug\Storage\RequestSummary> $entries, list<PHPForge\Debug\Storage\RequestSummary> $removed)Creates a snapshot write result with the committed manifest and evictions.
Parameters
| Parameter | Type | Description |
|---|---|---|
$entries | array<string, RequestSummary> | Committed manifest entries, newest first. |
$removed | list<RequestSummary> | Entries evicted from the manifest. |