Every directory containing PHP or Blade files now has agent-readable documentation. 134 new files, 2,103 lines across: - 78 blade component dirs (accordion through web) - 18 admin view components - 20 Core subsystem internals (models, services, concerns, migrations) - 10 Bouncer/Gate subsystem dirs - 5 root namespaces (Core, Mod, Mod/Trees, Plug, Website) - Tests, config, lang, media, seo, cdn, search, storage, webhook dirs Any agent landing on any CorePHP directory now understands the code before reading a single PHP file. The CLAUDE.md IS the index. Co-Authored-By: Virgil <virgil@lethean.io>
764 B
764 B
Config/Events/ — Config System Events
Events dispatched by the configuration system for reactive integration.
Events
| Event | Fired When | Key Properties |
|---|---|---|
ConfigChanged |
A config value is set or updated via ConfigService::set() |
keyCode, value, previousValue, profile, channelId |
ConfigInvalidated |
Config cache is manually cleared | keyCode (null = all), workspaceId, channelId. Has isFull() and affectsKey() helpers. |
ConfigLocked |
A config value is locked (FINAL) | keyCode, profile, channelId |
Modules can listen to these events via the standard $listens pattern in their Boot class to react to config changes (e.g., refreshing CDN clients, flushing caches).