Repository navigation
Internals Runtime Interface IRuntimeExecutor
Framework Internals · Subsystem overview · Developer guide
Source: awt_src/classes/runtime/interface/IRuntimeExecutor.php · Snapshot 8411f4287706.
Runtime state, package API classes, loader, executor and orchestrator have separate responsibilities. Dependency validation precedes package code and nested execution restores context.
interface IRuntimeExecutorNo own constants, enum cases, traits or property declarations. Inherited members are documented on the parent reference page.
| Method | Signature |
|---|---|
| setRuntime | public function setRuntime(IRuntime $runtime): void |
| initRuntime | public function initRuntime(): void |
| setupEnvironment | public function setupEnvironment(): void |
| setup | public function setup(): void |
| execute | public function execute(): void |
| run | public function run(IRuntime $runtime): void |
| setDependencyRunner | public function setDependencyRunner(callable $runner): void |
public function setRuntime(IRuntime $runtime): void;| Parameter | Type, modifiers and default | Purpose |
|---|---|---|
$runtime |
IRuntime $runtime |
Runtime state carrying package metadata, flags and request registries. |
Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.
public function initRuntime(): void;Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.
public function setupEnvironment(): void;Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.
public function setup(): void;Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.
public function execute(): void;Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.
public function run(IRuntime $runtime): void;| Parameter | Type, modifiers and default | Purpose |
|---|---|---|
$runtime |
IRuntime $runtime |
Runtime state carrying package metadata, flags and request registries. |
Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.
public function setDependencyRunner(callable $runner): void;| Parameter | Type, modifiers and default | Purpose |
|---|---|---|
$runner |
callable $runner |
Operation input; the exact use, validation and propagation are shown in the implementation trace. |
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