code()
code() : string
The stable dotted code every finding from this tripwire reports under.
Returns
string —For example "frame.digest_mismatch".
A frame the index knows about is not in the bucket.
The commonest real failure: a lifecycle rule, a bucket policy or a hand-run delete removed an object the index still points at. Every value that frame belongs to is unrestorable until it comes back, so this is critical rather than an error - a restore that reaches it cannot complete.
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.