Skip to content

Internals Uninstaller Interfaces IPackageCleanup

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

uninstaller\interfaces\IPackageCleanup

Framework Internals · Subsystem overview · Developer guide

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

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

IPackageCleanup

Declaration and architectural role

interface IPackageCleanup

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
clean public function clean(int $id, string $name): array

clean

Source line 8

public function clean(int $id, string $name): array;

Parameters

Parameter Type, modifiers and default Purpose
$id int $id Record or runtime identifier selected by this operation.
$name string $name Named key/label selected by this API; its exact scope is shown by the implementation trace.

@return string[] Failure messages; an empty array means success.

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