Skip to content
Corex

CacheOutcome

Corex\Cache\CacheOutcome · class · Core layer

What a cache operation actually did (spec 078, FR-012). The command this replaces printed success after deleting one transient. “Success” on its own is not an answer to “did that fix my problem” — an operator needs to know what was cleared, what was deliberately left alone, and what CoreX could not reach here. All three are different, and only the first is what people assume happened.

withSkipped(string $what, string $why): self

Section titled “withSkipped(string $what, string $why): self”

withUnsupported(string $what, string $why): self

Section titled “withUnsupported(string $what, string $why): self”

withFailed(string $what, string $why): self

Section titled “withFailed(string $what, string $why): self”

Did anything actually happen? Distinct from “did anything go wrong”.

A sentence an operator can act on. Deliberately never just “done”: it names the count, and says when the answer is that nothing needed doing or that nothing here could.