Skip to content

Internals Installer Interfaces Package IVerifyManifest

Stefan Crkvenjakov edited this page Oct 7, 2026 · 1 revision

installer\interfaces\package\IVerifyManifest

Framework Internals · Subsystem overview · Developer guide

Source: awt_src/classes/installer/interfaces/package/IVerifyManifest.php · Snapshot 8411f4287706.

Installation validates archives and manifests, moves files, persists metadata, copies data into storage, invokes an optional hook and emits an event. These operations do not form one atomic transaction.

IVerifyManifest

Declaration and architectural role

interface IVerifyManifest

Constants, enum cases, traits and properties

No own constants, enum cases, traits or property declarations. Inherited members are documented on the parent reference page.

Method index

Method Signature
addKey public function addKey(string $key): self
addKeyWithType public function addKeyWithType(string $key, string $type): self
verify public function verify(): bool

addKey

Source line 12

public function addKey(string $key): self;

Parameters

Parameter Type, modifiers and default Purpose
$key string $key * @return self

Adds a key to the verification list, e.g. "name" @param string $key @return self

Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.

addKeyWithType

Source line 20

public function addKeyWithType(string $key, string $type): self;

Parameters

Parameter Type, modifiers and default Purpose
$key string $key * @param string $type
$type string $type Expected class/type or enum selection according to the signature.

Adds a key and its type to the verification list, e.g. "name" => "string" @param string $key @param string $type @return self

Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.

verify

Source line 27

public function verify(): bool;

Returns true if all registered keys exist in the manifest. If a type is specified, it will also check if the value is of the specified type. @return bool

Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.

Clone this wiki locally