Skip to content
Corex

ReleaseHostFacts

Corex\Config\Releases\ReleaseHostFacts · class · Config layer

What this host can and cannot do towards installing a release, said when the screen is opened and not when an installation is half done (spec 107, FR-017; plan D15). The facts are read in one place (ofThisHost()) and judged in another (blockers()), so the judging can be held to account without a host that is wrong in each of the ways one can be.

__construct(bool $fileChangesAllowed, bool $canOpenZips, array $unwritable, ?int $freeBytes, bool $laidOutAsAPackage)

Section titled “__construct(bool $fileChangesAllowed, bool $canOpenZips, array $unwritable, ?int $freeBytes, bool $laidOutAsAPackage)”

ofThisHost(array $folders, bool $allowedByConfiguration, bool $laidOutAsAPackage): self

Section titled “ofThisHost(array $folders, bool $allowedByConfiguration, bool $laidOutAsAPackage): self”

Everything that prevents an installation, each with what to do about it.