Skip to content

Internals Installer Interfaces Package IPrepareInstallation

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

installer\interfaces\package\IPrepareInstallation

Framework Internals · Subsystem overview · Developer guide

Source: awt_src/classes/installer/interfaces/package/IPrepareInstallation.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.

IPrepareInstallation

Declaration and architectural role

interface IPrepareInstallation

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
prepare public function prepare(): self
verify public function verify(): bool

prepare

Source line 11

public function prepare(): self;

Sets up the installation process. @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 17

public function verify(): bool;

Verifies the package structure, manifest and other necessary files/directories. @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