Skip to content

Internals Uninstaller Interfaces IPackageUninstaller

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

uninstaller\interfaces\IPackageUninstaller

Framework Internals · Subsystem overview · Developer guide

Source: awt_src/classes/uninstaller/interfaces/IPackageUninstaller.php · Snapshot 8411f4287706.

Uninstallation deletes the package record before attempting each cleanup collaborator. Failures are collected; cleanup continues and can leave partial state.

IPackageUninstaller

Declaration and architectural role

interface IPackageUninstaller

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
uninstall public function uninstall(int $id): bool
getErrors public function getErrors(): array

uninstall

Source line 7

public function uninstall(int $id): bool;

Parameters

Parameter Type, modifiers and default Purpose
$id int $id Record or runtime identifier selected by this operation.

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

getErrors

Source line 10

public function getErrors(): array;

@return string[] Failures from the most recent uninstall attempt.

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