code()
code() : string
The stable dotted code every finding from this tripwire reports under.
Returns
string —For example "frame.digest_mismatch".
A replay walked back through history without finding a base anchor.
A replay starts at an anchor and applies what follows, so a chain with no anchor in it has no starting point and the commits in it cannot be materialised however intact they are. The usual cause is a prune that took the anchor and left its descendants, which is what the receipt exists to prevent.
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.