Repository navigation
Internals Installer Interfaces Package IVerifyStructure
Framework Internals · Subsystem overview · Developer guide
Source: awt_src/classes/installer/interfaces/package/IVerifyStructure.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.
interface IVerifyStructureNo own constants, enum cases, traits or property declarations. Inherited members are documented on the parent reference page.
| Method | Signature |
|---|---|
| addFile | public function addFile(string $file): self |
| addDirectory | public function addDirectory(string $dir): self |
| verify | public function verify(): bool |
public function addFile(string $file): self;| Parameter | Type, modifiers and default | Purpose |
|---|---|---|
$file |
string $file |
* @return self |
Adds a file path to verify, relative to the package root (e.g. /assets/css/style.css). @param string $file @return self
Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.
public function addDirectory(string $dir): self;| Parameter | Type, modifiers and default | Purpose |
|---|---|---|
$dir |
string $dir |
* @return self |
Adds a directory path to verify, relative to the package root (e.g. /assets/css). @param string $dir @return self
Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.
public function verify(): bool;Returns true if all registered files exist and are readable, and all registered directories exist. @return bool
Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.
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