code()
code() : string
The stable dotted code every finding from this tripwire reports under.
Returns
string —For example "frame.digest_mismatch".
A segment could not be read back.
A segment is the ordered record of what one flush captured, so an unreadable one loses the ability to replay that window even when every frame it names is intact. The manifest is derived from the frames and the commit, so a rebuild can regenerate it without a human.
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.