\Drupal\strata\Health\Tripwire FrameHashMismatch

A frame decoded to bytes that do not hash to its address.

The address is taken from the decoded frame, so this can only mean the stored bytes changed under us or the index row describes a different object than the key holds. Either way the content is not what it claims to be, and silently accepting it would write wrong data into a live site during a restore.

Summary

Methods
Properties
Constants
code
check
No public properties found
No public constants found
No protected methods found
No protected properties found
No protected constants found
No private methods found
No private properties found
No private constants found

Methods

code()

code() : string

The stable dotted code every finding from this tripwire reports under.

Returns

string —

For example "frame.digest_mismatch".

check()

check(array  $observation) : \Drupal\strata\Health\Finding|null

Evaluates the check against one observation.

Parameters

array $observation

Scalars the caller already had in hand. A tripwire reads from this and nothing else.

Returns

\Drupal\strata\Health\Finding|null —

A finding when the symptom is present, or NULL when the check is satisfied.