code()
code() : string
The stable dotted code every finding from this tripwire reports under.
Returns
string —For example "frame.digest_mismatch".
A commit names a parent that is not in the store.
History is a chain, so a missing link truncates every restore point older than it: the walk from the ref stops there and nothing before it can be reached, however intact those objects are. That makes one missing commit object far more expensive than one missing frame.
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.