ManifestValidation
in package
FinalYes
Refuses an incoherent manifest BEFORE the first wire call (CONTRACT.md §27.6).
The timing is the whole design. §27.7 gives apply no rollback, so a manifest that turns out to be unapplicable halfway through leaves a tenant in a state nobody described — some objects created, some not, and a dependency that can never be satisfied. Every check here is one that can be made from the manifest alone, and every one of them runs before a single request is sent.
Table of Contents
Methods
- assertValid() : void
- Throws unless `$manifest` is coherent.
Methods
assertValid()
Throws unless `$manifest` is coherent.
public
static assertValid(ManagementManifest $manifest) : void
Parameters
- $manifest : ManagementManifest