Skip to content
Corex

ApplyOutcome

Corex\Provisioning\ApplyOutcome · class · Core layer

The result of applying a kit: each declared page’s disposition enriched with the resulting page id, whether it became the front page, and how it was persisted (created|adopted|null-for-skip), plus the modules activated, flags enabled, and the front page id. Immutable value object returned by the apply path (spec 041) and rendered as the “what changed” summary by the setup wizard and the activation prompt (spec 042). The activator builds one and hands it back — no echo, no output (Principle III).

__construct(array $pages, array $modules, array $flags, ?int $frontPageId)

Section titled “__construct(array $pages, array $modules, array $flags, ?int $frontPageId)”

Whether every page the apply was to write was written: a page it was to create or fill that has no id is one it failed on (spec 118, US-OVR-09). A kit is recorded as applied only then.