code()
code() : string
The stable dotted code every finding from this tripwire reports under.
Returns
string —For example "frame.digest_mismatch".
A base anchor a commit points at is not in the store.
An anchor is what says which frames belong to which subject, so a missing one loses the index of the site at that point even though the frames it named are still there. The commits between two anchors all name the same one, so a single missing anchor takes a whole interval of history out of reach - and the chain behind it with it, since a delta anchor is meaningless without its parent.
Recoverable rather than fatal: the segments the interval covers still hold every operation, so a rebuild can write the anchor again from them.
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.