$subject
$subject : string
One subject as it stood at a moment in history.
A replay produces a field set rather than an entity, because writing it back is a separate decision with its own permissions and its own failure modes. The result also carries what it could NOT read, so a caller can tell a complete reconstruction from a partial one without guessing from the field count.
__construct(string $subject, bool $exists = true, array$fields = [], int $versions = 0, int $depth = 0, list $unreadable = []) : mixed
Constructs a result.
| string | $subject | The subject path, such as "entity/node:42". |
| bool | $exists | FALSE when the last operation in range deleted the subject, so restoring it means removing whatever is there now rather than writing fields. |
| array |
$fields | Field name keyed to its value at the target, merged oldest change first. |
| int | $versions | How many stored changes were applied. |
| int | $depth | How many commits the walk covered. |
| list |
$unreadable | One line per version that could not be read, naming the commit and the reason. |