SettingsStore
Corex\Config\Settings\SettingsStore · class · Config layer
Reads/writes a setting as the prefixed option the Config engine’s option layer reads (brand.logo_url → corex_brand_logo_url), so saving needs no extra wiring.
Public API
Section titled “Public API”optionName(string $key): string
Section titled “optionName(string $key): string”get(string $key, string $default): string
Section titled “get(string $key, string $default): string”save(string $key, string $value): void
Section titled “save(string $key, string $value): void”delete(string $key): void
Section titled “delete(string $key): void”Takes the stored value away, so the setting falls back to its default (spec 119, US-SET-15).