Skip to content
Corex

SettingsSaveResult

Corex\Config\Settings\SettingsSaveResult · class · Config layer

What one Settings save did (spec 119, US-SET-01): the page saved, the fields refused (each with its name in the form, label, type and what was typed, as spec 106 story 5 reports them), the secrets removed, and whether anything was saved at all: a post that names no Settings page saves nothing, and says so.

__construct(string $page, array $refused, array $removed, bool $saved)

Section titled “__construct(string $page, array $refused, array $removed, bool $saved)”

A save that did not say which page it came from: nothing was written.

What was typed into a refused field, by its name in the form; null when it was not refused.