ReleaseFinisher
Corex\Config\Releases\ReleaseFinisher · class · Config layer
The database step of an installation (spec 107, US3; FR-030 to FR-033, FR-035; plan D11, D19). It runs in the request that finishes an installation, which is answered by the release just put in place: the schema registry it reads is that release’s. What changes the schema is the runner the automatic check and wp corex migrate use, so there is one way a schema changes. This adds the two things an installation owes its owner: what moved, and a failure that is named when it happens and not found later by its symptoms. When the automatic check got there first (the finishing request never came, and an admin page was opened), the runner finds nothing to do and this says so.
Public API
Section titled “Public API”__construct(SiteMigrationRunner $runner, SchemaRegistry $schemas, SchemaVersionStore $versions, SiteScope $scope, NetworkContext $network, MultisiteContext $multisite)
Section titled “__construct(SiteMigrationRunner $runner, SchemaRegistry $schemas, SchemaVersionStore $versions, SiteScope $scope, NetworkContext $network, MultisiteContext $multisite)”run(int $offset): array
Section titled “run(int $offset): array”Bring this site, or the next sites of a network, to the release’s schema.