code()
code() : string
The stable dotted code every finding from this tripwire reports under.
Returns
string —For example "frame.digest_mismatch".
A tree names a frame the local index has never heard of.
Distinct from a missing frame: the bytes may well be in the bucket, but nothing local knows which
object holds them or how to decode them, so they cannot be read. This is what an uninstall leaves
behind and what strata:reindex repairs, which is why it sits at the reindex rung rather than
anywhere higher.
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.