code()
code() : string
The stable dotted code every finding from this tripwire reports under.
Returns
string —For example "frame.digest_mismatch".
A frame that is present, indexed and authentic still would not decode.
What is left once the object exists, the index describes it and the tag verified: a codec absent from this host, a header naming a format this release cannot read, or a decompression that came back the wrong length. The reason is carried through verbatim because the causes need different responses and the symptom cannot tell them apart.
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.