Repository navigation
Internals Installer Events PackageInstalledListener
Framework Internals · Subsystem overview · Developer guide
Source: awt_src/classes/installer/events/PackageInstalledListener.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.
use event\interfaces\IEvent;
use event\interfaces\IEventListener;class PackageInstalledListener implements IEventListenerNo own constants, enum cases, traits or property declarations. Inherited members are documented on the parent reference page.
| Method | Signature |
|---|---|
| handle | public function handle(IEvent $event): array |
public function handle(IEvent $event): array| Parameter | Type, modifiers and default | Purpose |
|---|---|---|
$event |
IEvent $event |
Event object; its name selects listeners and its bundle carries their payload. |
Return expressions (including local callbacks): $event->bundle().
Implementation, validation guards and interaction order
/**
* @inheritDoc
*/
public function handle(IEvent $event): array
{
return $event->bundle();
}AWT Framework Wiki · Home · Installation Guide · Developer Guide · Framework Internals
Philosophy · Architecture · Known discrepancies · Verification
Installation Guide
Developer Guide
- Learning sequence
- First package
- Package structure
- Lifecycle
- Runtimes
- Events and objects
- Routing and controllers
- Views and resources
- Database and models
- Storage and caching
- Configuration and CLI
- Responses and errors
- Extension points
Framework Internals
- Architecture
- Bootstrap
- Packages
- Runtime
- Events and context
- Objects
- HTTP routing and controllers
- Rendering
- Blade integration
- Database
- Models
- Storage and caching
- Settings
- CLI
- Identity and sessions
- Responses
- Errors
- Complete source inventory
Documentation notes