CooperSecret.php
Table of Contents
Classes
- CooperSecret
- Wraps a secret value (CASC.md ยง4.3's `*key`-prefixed keys) in the result `Cooper::loadFile()`/`Cooper::loadString()` return, so it never leaks by accident: string conversion, `json_encode()`, `var_dump()`, and `print_r()` all redact regardless of the wrapped value. Reach the real value deliberately with `reveal()` -- the wrapping is only ever a display-time concern, never a barrier to the developer's own use of the value.