CacheScope
Corex\Cache\CacheScope · enum · Core layer
What a clear operation is being asked to cover (spec 078, FR-010/011). An allow-list, never a free string: a scope decides what gets removed, so an unrecognised one must be refused rather than interpreted.
Public API
Section titled “Public API”names(): array
Section titled “names(): array”tryFromName(string $name): ?self
Section titled “tryFromName(string $name): ?self”requiresExplicitConfirmation(): bool
Section titled “requiresExplicitConfirmation(): bool”Whether this scope reaches beyond CoreX and therefore needs the operator to say so explicitly. object flushes a cache shared with every other plugin; page and cdn act on infrastructure serving real visitors. None of them should happen because somebody clicked the nearest button.