Skip to content
PHP Ecosystem
Explore

SnapshotWriteResult

API reference › Debug › storage › SnapshotWriteResult

final readonly classyii\debug\storage\SnapshotWriteResult
Sourcesrc/storage/SnapshotWriteResult.php

Carries the committed manifest and the summaries evicted by a snapshot write.

PropertyTypeDescriptionDefined by
$entries readonly constructorarray<string, PHPForge\Debug\Storage\RequestSummary>|nullCommitted entries, or null when a follow-up manifest read failed.SnapshotWriteResult
$removed readonly constructorlist<PHPForge\Debug\Storage\RequestSummary>Entries evicted from the manifest.SnapshotWriteResult
MethodDescriptionDefined by
__construct()Records the committed manifest and evicted request summaries.SnapshotWriteResult
public function __construct(array<string, PHPForge\Debug\Storage\RequestSummary>|null $entries, list<PHPForge\Debug\Storage\RequestSummary> $removed)

Records the committed manifest and evicted request summaries.

Parameters

ParameterTypeDescription
$entriesarray<string, PHPForge\Debug\Storage\RequestSummary>|nullCommitted entries, or null when a follow-up manifest read failed.
$removedlist<PHPForge\Debug\Storage\RequestSummary>Entries evicted from the manifest.