code()
code() : string
The stable dotted code every finding from this tripwire reports under.
Returns
string —For example "frame.digest_mismatch".
A frame's range runs past the end of the pack holding it.
A pack is a flat concatenation, so a range that does not fit means the index and the object disagree about the object's length - a truncated upload, or an index row written against a different pack. Reading it anyway returns short bytes that decompress to nothing or to garbage.
check(array $observation) : \Drupal\strata\Health\Finding|null
Evaluates the check against one observation.
| array | $observation | Scalars the caller already had in hand. A tripwire reads from this and nothing else. |
A finding when the symptom is present, or NULL when the check is satisfied.