code()
code() : string
The stable dotted code every finding from this tripwire reports under.
Returns
string —For example "frame.digest_mismatch".
A frame names a compression dictionary that is not available.
A dictionary is not an optimisation once a frame has been written against it; it is part of what decodes that frame. This is why a dictionary is never pruned while any live frame references it, and why the reference lives in the frame's own record rather than being inferred from the store's current settings.
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.