Skip to content

Internals Installer Interfaces Package IPackageInstaller

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

installer\interfaces\package\IPackageInstaller

Framework Internals · Subsystem overview · Developer guide

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

Imports and dependencies

use RuntimeException;

IPackageInstaller

Declaration and architectural role

interface IPackageInstaller

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
install public function install(): bool
update public function update(): bool
execute public function execute(): bool

install

Source line 14

public function install(): bool;

Installs the package. @return bool

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

update

Source line 16

public function update(): bool;

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

execute

Source line 24

public function execute(): bool;

Executes the installer actions.

@throws RuntimeException on error. @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